code: func readFile(file string) ([]byte, error) {
  	b, err := ioutil.ReadFile(file)
  	if err != nil {
  		return []byte{}, fmt.Errorf("Cannot read file %v, %v", file, err)
  	}
  	return b, nil
  }
docs: // readFile just reads a file into a byte array.