code: public static TemplateBasedScriptBuilder fromTemplateResource(Resource scriptTemplateResource) {
          try {
              return new TemplateBasedScriptBuilder(FileUtils.readToString(scriptTemplateResource.getInputStream()));
          } catch (IOException e) {
              throw new CitrusRuntimeException("Error loading script template from file resource", e);
          }
      }
docs: Static construction method returning a fully qualified instance of this builder.
  @param scriptTemplateResource external file resource holding script template code.
  @return instance of this builder.