code: protected File getFileRoot(Class type) {
          String path = getGroupsRootPath() + type.getName();
          File f = new File(path);
          return (f.exists()) ? f : null;
      }
docs: Returns a File that is the root for groups of the given type.