split the file string, and then add your string and </root>