update todo.md. complete file_writer.