code: @Override
      public InputStream getDocument(URI documentUri) throws DocumentException {
  
          if (!documentExists(documentUri)) {
              return null;
          }
  
          File dir = new File(this.getDocumentInternalUri(documentUri));
          for (File file : dir.listFiles()) {
              if (file.getName().matches("^index\\..*")) {
                  InputStream result = null;
                  try {
                      result = new FileInputStream(file);
                  } catch (IOException e) {
                      throw new DocumentException(e);
                  }
                  return result;
              }
          }
          return null;
      }
docs: /* (non-Javadoc)
  @see uk.ac.open.kmi.iserve.sal.manager.DocumentManager#getDocument(java.io.InputStream)