@Override
    protected void doRun() throws Exception {
      try {
        FileEntry fileEntry = DLAppServiceUtil.getFileEntry(_fileEntryIds[_index]);

        InputStream is = fileEntry.getContentStream();

        String content = StringUtil.read(is);

        if (CONTENT.equals(content)) {
          _log.debug("Retrieved file " + _index);

          _success = true;
        }
      } catch (Exception e) {
        _log.error("Unable to add file " + _index, e);
      }
    }