suppose input file ABC_input_0528.txt contains
suppose input file ABC_input_0531.txt contains
and I need to create one final output with file name in each record using dataframes
my output file should looks like this:
I need some working code.