code: func ReadFromFile(cnfPath string) ([]byte, error) {
  	file, err := os.Open(cnfPath)
  
  	// Config file not found
  	if err != nil {
  		return nil, fmt.Errorf("Open file error: %s", err)
  	}
  
  	// Config file found, let's try to read it
  	data := make([]byte, 1000)
  	count, err := file.Read(data)
  	if err != nil {
  		return nil, fmt.Errorf("Read from file error: %s", err)
  	}
  
  	return data[:count], nil
  }
docs: // ReadFromFile reads data from a file