code: func (d Data) IsFree(split uint) error {
  	want := d.filesize + split
  	if d.freeSpace() < want {
  		return errors.Errorf("there is not sufficient free space in a disk")
  	}
  
  	return nil
  }
docs: // IsFree is check your disk space for size needed to download