Load text files from a folder and create source file field
I'm loading multiple text files from a folder. Each text file is named different.
I want to create a field within the load script that will identify each text file based on the name of the text file. I'm discovering corrupt data within the source files. I need something that will help me filter and zero in on the problems without having to load each text file separately and creating a field that way.