You can just modify `process_file` to accept a destination argument