How to get the contents and the line number inside of the text file?

Dear @fniedez Please share one template text file so I will try send the sequence file