support for parsing XML from file