import csv


def parse_csv_data(csv_filename: str) -> list:
    """Return all teh rows of the csv file in a list.
    :param csv_filename: arg1
    :return: list of all the rows
    """
    file = open(csv_filename)
    reader = csv.reader(file)
    list_data = []
    for row in reader:
        list_data.append(row)
    return list_data