def METHOD_NAME(self, item, restore=True):
    """Remove tags from an Item's associated file and, if `restore`
    is enabled, write the database's tags back to the file.
    """
    # Get album art if we need to restore it.
    if restore:
        try:
            mf = mediafile.MediaFile(util.syspath(item.path),
                                     config['id3v23'].get(bool))
        except mediafile.UnreadableFileError as exc:
            self._log.error('could not open file to scrub: {0}',
                            exc)
            return
        images = mf.images
    # Remove all tags.
    self._scrub(item.path)
    # Restore tags, if enabled.
    if restore:
        self._log.debug('writing new tags after scrub')
        item.try_write()
        if images:
            self._log.debug('restoring art')
            try:
                mf = mediafile.MediaFile(util.syspath(item.path),
                                         config['id3v23'].get(bool))
                mf.images = images
                mf.save()
            except mediafile.UnreadableFileError as exc:
                self._log.error('could not write tags: {0}', exc)