DRY up remote_file func specs