def get_key(url):
    """
    Given a URL path convert it to an S3 Key by replacing some parts of the path
    with empty strings
    """
    return url.replace("/v0/submission/", "").replace("/files", "")