docstr: Output HTML to some destination
code: def to_file(self):
      """
      Output HTML to some destination
      """
      out = os.path.join(
          self.path, ".".join((self.name, self.extension))
      )
      file = open(out, "w")
      file.write(self.generate())
      file.close()
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import os
  import datetime
  from yattag import Doc, indent
label_desc: Use image node_id 31 for calling the CustomHtml obj's underlying member method code with example usage: obj.to_file() without return types