If there is an exception during reading of a text file, the error message prints a message like :
...TextParsingException: Error processing input: Cannot use newline
character within quoted string, line=37, char=8855. Content parsed: [ ]
which does not have the name of the file. If there are thousands of files being read, printing the filename would help identify the problem.