code: def load(self, name, skip='', skip_original='', default_template=None, layout=None):
          
          filename = self.resolve_path(name, skip=skip, skip_original=skip_original,
                                       default_template=default_template)
  
          if not filename:
              raise ParseError("Can't find template %s." % name)
  
          with self.lock:
              if layout:
                  _filename = filename + '$$' + layout
                  mtime = os.path.getmtime(filename)
              else:
                  mtime = None
                  _filename = filename
  
              if self.cache:
                  if not self.use_tmp:
                      #check current template file expiration
                      t = self.templates.get(_filename, mtime=mtime)
                      if t:
                          #check depends tempaltes expiration
                          check = self.check_expiration(t)
                          if not check:
                              return t
                  else:
                      #get cached file from disk
                      pass
              t = self._create_template(name, filename, layout=layout)
              if self.cache:
                  if not self.use_tmp:
                      self.templates.set(_filename, t, mtime)
                  else:
                      #save cached file to disk
                      pass
  
              return t
docs: Loads a template.