polished suggestion (xml file handling)