import csv


def read_csv_file(file_name):
    """
    Given a CSV file, read the data into a nested list
    Input: String corresponding to comma-separated  CSV file
    Output: Lists of lists consisting of the fields in the CSV file
    """
       
    with open(file_name, newline='') as csvfile:
        table = []
        reader = csv.reader(csvfile, delimiter=',')
        for row in reader:
            table.append(row)
    return table