updated todo list with open file function