import csv


def read_csv(input_file):
    """Reads a csv file."""
    lines = []
    with open(input_file, 'r') as csv_file:
        reader = csv.DictReader(csv_file)
        for row in reader:
            lines.append(row)
    return lines