add write data file