change exists? to file? in get_url