It only works for saving files but not ladin them. This is what I did.
In a class used the below function to load the xml file
if (xml.loadFile(name+ ".xml"))
Then the xml file is in the data folder. Its name test.xml. It doesn;t load. Im pretty sur eIm doing it right since im following the example