def load
      @load_time = Time.now
      @meta = {}
      if template?
        logger.debug "loading #{path}"
        file.open do |io|
          read_meta(io)
          @template_start_line = io.lineno + 1
          @template_text = io.read
        end
      end
    end
def load
      @load_time = Time.now
      @meta = {}
      if template?
        logger.debug "loading #{path}"
        file.open do |io|
          read_meta(io)
          @template_start_line = io.lineno + 1
          @template_text = io.read
        end
      end
    end
Read input file, extracting YAML meta-data header, and template content.