code: func NewHandler(cfg Config) (*Handler, error) {
  	if err := cfg.CheckAndSetDefaults(); err != nil {
  		return nil, trace.Wrap(err)
  	}
  
  	h := &Handler{
  		Entry: log.WithFields(log.Fields{
  			trace.Component: teleport.Component(teleport.SchemeFile),
  		}),
  		Config: cfg,
  	}
  	return h, nil
  }
docs: // NewHandler returns new file sessions handler