save calibration file