Thanks for this solution of merging html files together. I tried this and it worked however, I am facing repetition issue, if I have five files that I want to merge, each file gets merged 5 times. That is file 1 will merge 5 times before file 2, etc Is there a way around this