use multiprocessing.Pool in process_file