Rerouting and file creation for todo list