def is_remote(path):
    """Determine whether a file is in a remote location (which can be handled) based on prefix of connection string."""
    for token in ["s3://", "http://", "https://"]:  # add
        if path.startswith(token):
            return True
    return False