Refactor: renamed xml file to dom to xml file manager
XMLFileManager Refactor, separate functions