Implemented caching for XmlFileChecker and fixed related classes