code: private void validatePath(PropertyEntry entry) {
          if (entry instanceof VideoEntry) {
              VideoEntry e = (VideoEntry) entry;
              if (e.getPath().contains(configuration.getRootDir().getAbsolutePath())) {
                  e.setLink(e.getPath().substring(configuration.getRootDir().getAbsolutePath().length() + 1));
              }
          } else if (entry instanceof ScreenshotEntry) {
              ScreenshotEntry e = (ScreenshotEntry) entry;
              if (e.getPath().contains(configuration.getRootDir().getAbsolutePath())) {
                  e.setLink(e.getPath().substring(configuration.getRootDir().getAbsolutePath().length() + 1));
              }
          }
      }
docs: Validates if the file path is in absolute form and if so relativize it.
  
  @param entry