just start to add write file not complete