change way to save record files