code: func NewTemplateReader(path string, log logging.Logger) (*Reader, error) {
  	reader := &Reader{
  		log:  log,
  		path: path,
  	}
  
  	if _, err := os.Stat(path); os.IsNotExist(err) {
  		if err := os.MkdirAll(path, DefaultMode); err != nil {
  			return nil, errors.Errorf("cannot initialize template reader: path processing error: %v", err)
  		}
  	}
  	return reader, nil
  }
docs: // NewTemplateReader returns a new instance of template reader with given path. The path is also verified and
  // crated if not existed