import logging


def parse_csv_data(csv_filename:str) -> list:
    """
    Extracts data from a csv file and parses each line into a list

    Args: csv_filename - String, The name of the csv file

    Return: string_list - List, List of each line in the csv file
    """

    string_list = []

    try:
        with open(csv_filename) as csv_file:
            #Loops through file adding each line to a list
            for line in csv_file:
                string_list.append(line)
    except FileNotFoundError:
        logging.warning('csv filename incorrect')

    return string_list