code: def from_template(filename, **kwargs):
      
      with open(filename) as fp:
          return from_template_string(fp.read(), **kwargs)
docs: Like from_template_string(), but reads the template from the file with
      the given name instead.
  
      :type  filename: string
      :param filename: The name of the template file.
      :type  kwargs: str
      :param kwargs: Variables to replace in the template.
      :rtype:  Mail
      :return: The resulting mail.