using TinyXML to load stage files