code: private InputStream getStream(String pid, String dsId, String dsVersionId) {
          File file = getFile(pid, dsId, dsVersionId);
          try {
              return new FileInputStream(file);
          } catch (FileNotFoundException e) {
              return null;
          }
      }
docs: dsId and dsVersionId may be null