def METHOD_NAME(self, option):
    """Delete the file if the limit was changed to 0."""
    assert self._configfile is not None
    if option != self._limit:
        return
    value = config.instance.get(option)
    if value == 0:
        if os.path.exists(self._configfile):
            os.remove(self._configfile)