def combine_files(parts, path):
	'''
	Function combines file parts.
	@param parts: List of file paths.
	@param path: Destination path.
	'''
	with open(path,'wb') as output:
		for part in parts:
			with open(part,'rb') as f:
				output.writelines(f.readlines())
			os.remove(part)

	Function combines file parts.
	@param parts: List of file paths.
	@param path: Destination path.
	
recipes/Python/578220_Multithreading_Downloader_Class/recipe-578220.py