code: func (f *File) Contents() (content string, err error) {
  	reader, err := f.Reader()
  	if err != nil {
  		return "", err
  	}
  	defer ioutil.CheckClose(reader, &err)
  
  	buf := new(bytes.Buffer)
  	if _, err := buf.ReadFrom(reader); err != nil {
  		return "", err
  	}
  
  	return buf.String(), nil
  }
docs: // Contents returns the contents of a file as a string.