Multiple Files CSV automatic create index with filename and column header

If you have multiple CSV files with different sets of columns then a regular csv filter will not work. Once it has detected the column names they do not get reset when it starts processing the next file.

I think it would be possible to take the code for the csv filter and change it so that it resets columns every time it sees a new value for the path field on the event.