I was thinking as I read it line from line, store each letter into an array element, and compare the index of the princinct number with an interger (switch?) and open the coresponding file. Is there an easier way?
(I have to assume that I do not know that princint2 is not used. It is a general program.