Update get_remote_file, get_hashed_response functions.