int ii = 0 ; // counter to alter file name int jj = 0; // counter for all output strings