code: func readGenesis(genesisPath string) *core.Genesis {
  	// Make sure we have a valid genesis JSON
  	//genesisPath := ctx.Args().First()
  	if len(genesisPath) == 0 {
  		utils.Fatalf("Must supply path to genesis JSON file")
  	}
  	file, err := os.Open(genesisPath)
  	if err != nil {
  		utils.Fatalf("Failed to read genesis file: %v", err)
  	}
  	defer file.Close()
  
  	genesis := new(core.Genesis)
  	if err := json.NewDecoder(file).Decode(genesis); err != nil {
  		utils.Fatalf("invalid genesis file: %v", err)
  	}
  	return genesis
  }
docs: // readGenesis will read the given JSON format genesis file and return
  // the initialized Genesis structure