use .dat file from 1st argument