code: def _find_template(self, template, tree, blocks, with_filename,
                     source, comment):
          
          from uliweb import application
          from uliweb.core.template import _format_code
  
          def get_rel_filename(filename, path):
              f1 = os.path.splitdrive(filename)[1]
              f2 = os.path.splitdrive(path)[1]
              f = os.path.relpath(f1, f2).replace('\\', '/')
              if f.startswith('..'):
                  return filename.replace('\\', '/')
              else:
                  return f
  
          template_file = None
  
          if not tree:
              application.template_loader.comment = comment
              files = application.template_loader.find_templates(template)
              if files:
                  template_file = files[0]
  
                  for x in files:
                      print x
  
                  if source:
                      print
                      print '---------------- source of %s ---------------' % template
                      t = application.template_loader.load(template_file)
                      if t and comment:
                          print _format_code(t.code).rstrip()
                          print
                      else:
                          print t.code
                          print
  
              else:
                  print 'Not Found'
          else:
              application.template_loader.print_tree(template)
  
          if template_file and blocks:
              application.template_loader.print_blocks(template, with_filename)
docs: If tree is true, then will display the track of template extend or include