code: func (p *Plugin) Init() error {
  	// Read fileDB configuration file
  	var err error
  	p.config, err = p.getFileDBConfig()
  	if err != nil || p.disabled {
  		return err
  	}
  
  	// Register decoders
  	decoders := []decoder.API{decoder.NewJSONDecoder(), decoder.NewYAMLDecoder()}
  	if p.client, err = NewClient(p.config.ConfigPaths, p.config.StatusPath, decoders, filesystem.NewFsHandler(), p.Log); err != nil {
  		return err
  	}
  
  	p.protoWrapper = kvproto.NewProtoWrapper(p.client, &keyval.SerializerJSON{})
  
  	return nil
  }
docs: // Init reads file config and creates new client to communicate with file system