def parse_csv_data(csv_filename: str) -> list:
    """Parses through a CSV file, reading and storing each line of the file.

    Opens a csv file, assigning covid_csv_file to a list of all lines in the
    file. For each line in the file, the newline character and the commas are
    removed from the file, with each line being appended to a local list
    that is then returned.

    Args:
        csv_filename (str): The name of the csv file to be parsed, given as
            a string. This allows for data to be extracted from the csv file.

    Returns:
        list: covid_csv_data. This is a list, where each index is a line from
            the csv file. This allows for the data to be accessed and modified
            much easier (specific values can be accessed much easier) than if
            it were in plain csv format.
    """
    covid_csv_data = []

    with open(csv_filename, 'r', encoding='utf8') as covid_csv_file:
        covid_csv_file = covid_csv_file.readlines()

    for index in covid_csv_file:
        # Removing the newline escape character from the line.
        index = index[:-1:]

        # Splits the line into each section, converts it to a tuple
        # And adds it to a list.
        covid_csv_data.append(tuple(index.split(",")))

    return covid_csv_data