def get_latest_file_url(files: dict, starts_with: str, file_extension: str) -> str:
    """
    Get the url to a file which should start and have a specific file extension.

    Parameters
    ----------
    files : dict
        Keys are the filenames and the values are the urls.
    starts_with : str
        Start of the filename.
    file_extension : str
        End of the filename. For example the file extension.

    Returns
    -------
    str
        URL of the most recent file.
    """
    filtered_files = {
        fname: link
        for fname, link in files.items()
        if (starts_with in fname[: len(starts_with)])
        and file_extension in fname
        and "volume" not in fname
    }
    if len(filtered_files) == 0:
        return ""

    newest_file = sorted(filtered_files.keys())[-1]
    link = files.get(newest_file, "")

    return link