first version of ReadXMLFiles.groovy