def read_prefs_file(day):
    """ Reads the prefs file for 'day' and returns the line-by-line text. """

    fname = "prefs/" + day + ".txt"
    with open(fname) as f:
        return f.read().splitlines()