code: public String getRelativePathToBenchmarkReportDirectory(File file) {
          String benchmarkReportDirectoryPath = plannerBenchmarkResult.getBenchmarkReportDirectory().getAbsoluteFile().toURI().getPath();
          String filePath = file.getAbsoluteFile().toURI().getPath();
          if (!filePath.startsWith(benchmarkReportDirectoryPath)) {
              throw new IllegalArgumentException("The filePath (" + filePath
                      + ") does not start with the benchmarkReportDirectoryPath (" + benchmarkReportDirectoryPath + ").");
          }
          String relativePath = filePath.substring(benchmarkReportDirectoryPath.length());
          if (relativePath.startsWith("/")) {
              relativePath = relativePath.substring(1);
          }
          return relativePath;
      }
docs: ************************************************************************