import csv


def load_directory_data(csvfile):
    """
    Read student & family data from the CSV export of Maria's directory
    spreadsheet.  
    
    This function returns a list of dicts - one for each student - where
    the keys are just the column names from the spreadsheet. 
    """
    records = []    # a list of all records read in from the spreadsheet
    fieldnames = [] # the column names from the spreadsheet
    with open(csvfile, "r") as fp:
        dir_reader = csv.DictReader(fp, delimiter=",", quotechar='"')
        fieldnames = dir_reader.fieldnames  
        records = [row for row in dir_reader]
    return records