def store_file(connection, file):
	"""Store the file, hash and relevant file attributes in the SQL files table.
	:param connection:
	:param file:
	:return: Filepath ID"""
	sql = '''INSERT INTO files(filename, checksum, filesize, btime, ctime, mtime, filepath_id)
		VALUES(?, ?, ?, ?, ?, ?, ?)'''
	cursor = connection.cursor()
	cursor.execute(sql, file)
	return None
	# return cursor.lastrowid