def filename_parser_legacy_stella(tsv):
    """
    Parse a filename and return a dict with identifying metadata.

    This parser is used for the legacy naming convention implemented in the a-proof project for COVID data.
    Filename convention:
    'institution--idx--MDN--NotitieID--NotitieCSN--Notitiedatum--q--search.conll'
    Example:
    'AMC--123--1234567--123456789--123456789--2020-05-18--q1_q2_q3--Search1.conll'

    Parameters
    ----------
    tsv: Path
        path to tsv file (INCEpTION output)

    Returns
    -------
    dict
        dictionary of metadata
    """
    annotator = tsv.stem
    conll = tsv.parent
    institution, _, MDN, NotitieID, _, _, _, _ = conll.stem.split('--')

    return dict(
        annotator = annotator.lower(),
        institution = institution.lower(),
        year = '2020',
        MDN = MDN,
        NotitieID = NotitieID,
        batch = 'pilot',
        legacy_rawfile = None,
    )