docs: public static void toFile(Template template, VelocityContext context, String destPath) {
  		PrintWriter writer = null;
  		try {
  			writer = FileUtil.getPrintWriter(destPath, Velocity.getProperty(Velocity.INPUT_ENCODING).toString(), false);
  			merge(template, context, writer);
  		} catch (IORuntimeException e) {
  			throw new UtilException(e, "Write Velocity content to [{}] error!", destPath);
  		} finally {
  			IoUtil.close(writer);
  		}
  	}