code: @Override
     public void process(Map<String, String> varMap, Writer out)
     {
        try
        {
           if (templateText == null)
           {
              templateText = Utils.readFileIntoString(input);
           }
           String replacedString = replace(varMap);
           out.write(replacedString);
           out.flush();
        }
        catch (IOException e)
        {
           e.printStackTrace();
        }
     }
docs: Processes the template
  
  @param varMap variable map
  @param out    the writer to output the text to.