implements bogus parsing of xml files