import csv


def get_data_from_csv_file(filename):
    """Load data from csv file into a list."""
    with open(filename, "r") as f_obj:
        reader = csv.DictReader(f_obj, delimiter=',')
        csv_data = list(reader)
    return csv_data