def read_file(path_to_file):
    global data
    with open(path_to_file) as f:
        data = data + list(f.read())
Takes a path to a file and assigns the entire
dataset/ETHPy150Open crista/exercises-in-programming-style/04-cookbook/tf-04.py/read_file