added an error message if the input file name is bad (does not contain a .nlp