made sure that listing the tasks writes the tasks to a file named NewTasks.txt