add file write but wirte server data to flash was faild