Log CSV filename in a loop


Apologies for the basic quesiton but haven't yet found the answer.

I have a loop that reads a directory with hundreds of CSV files. I think there is an issue with the structure of a couple of the files. 


During exectuion I see three errors like this: 

WARN  CSV Reader           0:13       Didn't get any value for column(s) with index #10. Please verify column type(s).

How can I get the CSV Reader to also log the filename, or the url that it's working from as a parameter.



You can add a Variable to Table Column node between the File Reader node and the Loop End, see attached example workflow.