updated file write instruction (write data and timeAxis)