added in the datadownloader changes made in XMLParsing branch