code: func NewFileContent(c *config.Config, logger *logrus.Entry) (*FileContent, error) {
  	if c.Choria.FileContentRegistrationData == "" {
  		return nil, fmt.Errorf("File Content Registration is enabled but no source data is configured, please set plugin.choria.registration.file_content.data")
  	}
  
  	reg := &FileContent{}
  	reg.Init(c, logger)
  
  	return reg, nil
  }
docs: // NewFileContent creates a new fully managed registration plugin instance