import csv


def read_csv(filename):
    """Read any CSV file into memory."""
    database=[]
    with open(filename, 'r', newline='') as f:
        reader = csv.DictReader(f)
        for row in reader:
            database.append(row)
    return database