code: @Override
      public void
      writeToFile(Path reportFile, ValidationPlanResult validationPlanResult, String targetOrigin) {
      	if(reportFile==null)
      		return;
          writeMessages(reportFile, (s) -> {
              for( ValidationMessage validationMessage: validationPlanResult.getMessages() ) {
                  writeMessage(s, validationMessage, targetOrigin);
              }}
docs: Write to path.