I have a many '.txt' files in a folder.
a.txt, b.txt, c.txt ......
Now I want to open each one of them one by one and print the following sentence in the 5th line from the beginning of each one them including the file name.
The sentence is :
a.txt > "I am in a file"
b.txt > "I am in b file"
these line should be printed on the 5th line from the file starting.
Can you please tell me the procedure