@SuppressWarnings("unchecked")
 public AcumenDictionary<String, T> getFiles() throws IOException {
   if (_files == null) {
     File[] contents = this.getFile().listFiles();
     _files = new AcumenDictionary<String, T>();
     for (File file : contents) {
       if (file.isFile() && !file.getName().endsWith(".meta")) {
         T descriptor = (T) T.getInstance(file);
         _files.put(descriptor.getFullName(), descriptor);
       }
     }
   }
   return _files;
 }
  @Test
  public void constructor() throws IOException {
    GalleryResolver resolver = new GalleryResolver("/home/guy/workspace/Acumen.CMS2", null);
    resolver.setRelativePath("public/repositories/default/images/GuyMurphy");
    AcumenDictionary<String, ImageDescriptor> files = resolver.getFiles();
    files.setPrettyPrint(true);
    System.out.println(files.toXml());

    GalleryResolver resolver2 = new GalleryResolver("/home/guy/workspace/Acumen.CMS2", null);
    resolver2.setRelativePath("public/repositories/default/images/TestTopic");
    if (resolver2.exists()) {
      AcumenDictionary<String, ImageDescriptor> files2 = resolver2.getFiles();
      files2.setPrettyPrint(true);
      System.out.println(files2.toXml());
    }
  }