clean up .dat files