private static boolean isXmlFile(File file) {
    String fileName = file.getName();
    return SystemInfo.isFileSystemCaseSensitive ? fileName.endsWith(XML_NAME_SUFFIX) : StringUtil.endsWithIgnoreCase(fileName, XML_NAME_SUFFIX);
  }
private static boolean isXmlFile(File file)