Put the "can't recognize file" message in a better place.
Polishing and minor corrections, and added a line to write the table (AMWG plot set 1).