IIRC the problematic line should be
write (*, '(A)') ' Enter input file name : '
The backslash "\" is not a valid format descriptor. The "A" descriptor is pretty similar to the "%s" in C.
So you are maintaining Fortran code? That sounds like a pain in the a$$ to me...