working on readFile() and rapidXML