clean up ReadXML.java