rename copy_file to output_file