remvoed teh .dat file creation