code: func (f *removeOnClose) Close() error {
  	if f == nil || f.File == nil {
  		return nil
  	}
  	name := f.File.Name()
  	if err := f.File.Close(); err != nil {
  		return err
  	}
  	if err := os.Remove(name); err != nil && !os.IsNotExist(err) {
  		return err
  	}
  	return nil
  }
docs: // Close closes the file and then removes it from disk. No error is
  // returned if the file did not exist at the point of removal.