I am trying to read in about 50 files that all start with the same naming convention "Customer_".
These are CSV files and I would like Alteryx to read in the files and then save them using some fields in the header.

I need to use the first row to determine if it is a detail or a summary, the second line has the file number I want to use to save it, and line five tells me the customer to name it.
I have no need to manipulate the data at all, I just want to rename them all based on the information in the file.
Here is an example of the naming convention "Customer -- Frederick # 10874360 Detail"
Thanks!!
Rob