def parse_csv_data(csv_filename:str) -> list:
    """Takes in a json file and outputs a list of each line of the file"""
    with open(csv_filename, "r", encoding="UTF-8") as file:
        #Forms a list of each line in the file
        data = file.read().split("\n")
        #Removes any empty lines at the end
        while data[-1] == "":
            data.pop()
        return data