todo-list: add file existance check