import csv


def read_from_csv(fn):
    """Read in the CSV file and return a list of (email, password) tuples"""
    users = []
    csvfile = csv.reader(open(fn, "r"))
    for row in csvfile:
        if row[0] != "":
            users.append(row)
    return users