todo list actually reads and writes from text file correctly