created function that reads the file, and adds each line to the current TODO list