added check if file exists, updated todo list