def read_from_txt(file):
    """Read txt file as a list, each line becomes list item."""
    readings = []
    with open(file, 'r') as ff:
        for i in ff.readlines():
            readings.append(i.replace('\n', ""))
    return readings