code: public T validateScript(Resource scriptResource, Charset charset) {
          try {
              validateScript(FileUtils.readToString(scriptResource, charset));
          } catch (IOException e) {
              throw new CitrusRuntimeException("Failed to read script resource file", e);
          }
  
          return self;
      }
docs: Reads validation script file resource and sets content as validation script.
  @param scriptResource
  @param charset
  @return