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