code: func processGenJSON(genJSONPath string) (*isolate.ArchiveOptions, error) {
  	f, err := os.Open(genJSONPath)
  	if err != nil {
  		return nil, fmt.Errorf("opening %s: %s", genJSONPath, err)
  	}
  	defer f.Close()
  
  	opts, err := processGenJSONData(f)
  	if err != nil {
  		return nil, fmt.Errorf("processing %s: %s", genJSONPath, err)
  	}
  	return opts, nil
  }
docs: // processGenJSON validates a genJSON file and returns the contents.