Sorry for my delay, guys.
Mikrom, I read about these two functions, adjustl() and trim(), they are unsupported in earlier versions than Fortran95.
I deleted the lines from your codes, both codes extract the numbers needed to the output files, only the console printout changes, but it is easy to...