import csv


def read_csv(file):
    """ Reads a csv file and returns all rows (including field names) """
    with open(file, newline='') as csv_file:
        reader = csv.DictReader(csv_file, delimiter=',')
        rows = [row for row in reader]
        return rows