saving all data to one file