changed output ext to .dat