change script to look for .dat files as raw data files, take 2