code: func NewSecurityWriter(filename string) (*SecurityWriter, error) {
  	file, err := codegen.SourceFileFor(filename)
  	if err != nil {
  		return nil, err
  	}
  	return &SecurityWriter{SourceFile: file}, nil
  }
docs: // NewSecurityWriter returns a security functionality code writer.
  // Those functionalities are there to support action-middleware related to security.