Your programm is impressing. Nevertheless I have one issue. I want to make a files replacing not only with one word written in Replace/insert by text, but with a couple of words following each other (line by line) which should be trasferred directly from a text file. After last word is trasferred, a programm should transport words from the list begin as long as all files are over, as an example:
index1.html
index2.html
index3.html
index4.html

a new changed word in a file index1.html should be the first line transported from text file
a new changed word in a file index2.html should be the first line transported from text file
a new changed word in a file index3.html should be the first line transported from text file
a new changed word in a file index4.html should be the first line transported from text file etc.