import zipfile


def get_rootdir(zip_filename: str):
    """
    Get the name of the root directory of the contents of a zip following extraction.
    """
    zip_filepath = "data/" + zip_filename
    with zipfile.ZipFile(zip_filepath, "r") as zip_ref:
        rootdir = zip_ref.namelist()[0]
    return rootdir