Updated XML reader to parse file as stream instead of XPath