def load_event_map(event_map_filepath: str) -> dict[str,int]:
    """Loads event map from a specified filepath, and returns a dictionary containing the map."""
    map = {}
    index = 0

    with open(event_map_filepath) as f:
        for string_label in f:
            map[string_label.strip()] = index
            index += 1

    return map