code: def get_remote_file(url):
      
      try:
          return requests.get(url)
      except requests.exceptions.ConnectionError as e:
          print("Connection error!")
          print(e.message.reason)
          exit(1)
docs: Wrapper around ``request.get`` which nicely handles connection errors