code: func readFile(inputFile string) ([]byte, error) {
  	inputData, err := ioutil.ReadFile(inputFile)
  	if err != nil {
  		return nil, fmt.Errorf("reading data from file failed: %v", err)
  	}
  
  	return inputData, nil
  }
docs: // readFile reads content of a file into memory