Input file name collision - There are multiple input files

OK. Let me see what can be done.
It’s an output of an in-house script that I didn’t write.