pgm 22.13, handle empty data file