Implemented a function to save .dat file