def METHOD_NAME(file: Path) -> list[dict[str, str]]:
    """Converts a csv file to a list of dictionary."""
    with open(file) as csv_file:
        csv_reader = DictReader(csv_file)
        return list(csv_reader)