Added Deyong's NSTX routines ; allow for longer filenames ; print more info in prefida