docs: public static File replaceTokensInStream(
              final InputStream stream,
              final Map<String, Map<String, String>> dataContext,
              final Framework framework,
              final ScriptfileUtils.LineEndingStyle style,
              final File destination
      )
              throws IOException
      {
  
          //use ReplaceTokens to replace tokens within the stream
          final Map<String, String> toks = flattenDataContext(dataContext);
          final ReplaceTokenReader replaceTokens = new ReplaceTokenReader(
                  new InputStreamReader(stream),
                  toks::get,
                  true,
                  '@',
                  '@'
          );
          final File temp;
          if (null != destination) {
              ScriptfileUtils.writeScriptFile(null, null, replaceTokens, style, destination);
              temp = destination;
          } else {
              temp = ScriptfileUtils.writeScriptTempfile(framework, replaceTokens, style);
          }
          ScriptfileUtils.setExecutePermissions(temp);
          return temp;
      }