code: def make_file_name(self, template_name, template_extension=None):
          
          file_name = template_name
  
          if template_extension is None:
              template_extension = self.template_extension
  
          if template_extension is not False:
              file_name += os.path.extsep + template_extension
  
          return file_name
docs: Generate and return the file name for the given template name.
  
          Arguments:
  
            template_extension: defaults to the instance's extension.