read/write array(calibration data) to file