should be on the same line of declaration
completed copy_to_local_file specs and implementation