Verify the input file.

Verify the input file, test it
can be read or not. If not, the
program will just return and give
some error message.