docs: private void createReportFile(String reportFileName, String content) {
          File targetDirectory = new File(getReportDirectory());
          if (!targetDirectory.exists()) {
              if (!targetDirectory.mkdirs()) {
                  throw new CitrusRuntimeException("Unable to create report output directory: " + getReportDirectory());
              }
          }
  
          try (Writer fileWriter = new FileWriter(new File(targetDirectory, reportFileName))) {
              fileWriter.append(content);
              fileWriter.flush();
              log.info("Generated test report: " + targetDirectory + File.separator + reportFileName);
          } catch (IOException e) {
              log.error("Failed to create test report", e);
          }
      }