def record(lst):
    with open(fname, "a") as f:
        for txt in lst:
            f.write(txt + '\n')