changing out curl for remote_file