添加了write_file流程图