code: func ConvertPathReadability(path string, readability bool) ([]byte, error) {
  	mimeType := MimeTypeByExtension(path)
  
  	f, err := os.Open(path)
  	if err != nil {
  		return nil, err
  	}
  	defer f.Close()
  
  	data, err := Convert(f, mimeType, readability)
  	if err != nil {
  		return nil, err
  	}
  	return json.Marshal(data)
  }
docs: // ConvertPathReadability converts a local path to text, with the given readability
  // option.