splitting xml files  also creates a root for every xml file. Needed for BOOST.