replace remote_file with wget