def get_data_list(file_name : str) -> list:
    """
    Reads the data from a .csv file, and stores the rows as lists in a list.

    Parameters
    ----------
    file_name : str
        The filename of the csv file containg all the data.

    Returns
    -------
    list
        The list of lists containing all the stock market data.
    """
    
    data_file = open(file_name,"r")
    data_list = [ ] # start with an empty list
    for line_str in data_file:
        data_list.append(line_str.strip().split(','))
    return data_list