Fixed data file selector for unam files, and compensated for missing data in header and in data files