use file url for remote_file