private void setESBMimeTypeForConfigurationFiles(VirtualFileEntry virtualFileEntry)
     throws ServerException {
   String fileName = virtualFileEntry.getName();
   if (fileName.endsWith(".xml") && !("pom.xml".equals(fileName))) {
     virtualFileEntry.getVirtualFile().setMediaType(ESB_XML_MIME_TYPE);
   }
 }
 private void recTreeView(FolderEntry parent) throws ServerException {
   for (VirtualFileEntry virtualFileEntry : parent.getChildren()) {
     if (virtualFileEntry.isFile()) {
       setESBMimeTypeForConfigurationFiles(virtualFileEntry);
     } else {
       recTreeView((FolderEntry) virtualFileEntry);
     }
   }
 }