code: public void writeCoverageResults() {
          File coverageFile = new File(this.testSessionDir,
                  ICS_MAP.get(this.requestId));
          if (coverageFile.exists()) {
              return;
          }
          OutputStream fos = null;
          try {
              fos = new FileOutputStream(coverageFile, false);
              writeDocument(fos, this.coverageDoc);
          } catch (FileNotFoundException e) {
          } finally {
              try {
                  // Fortify Mod: If fos is null, then nothing was written
                  if( fos != null) {
                      fos.close();
                      LOGR.config("Wrote coverage results to "
                          + coverageFile.getCanonicalPath());
                      }
                  else {
                      // If nothing was written, then there should be an exception message.  
                      // If an additional message is desired, then add it here.
                      }
              } catch (IOException ioe) {
                  LOGR.warning(ioe.getMessage());
              }
          }
  
      }
docs: Writes the residual ICS document to a file in the test session directory.