def write(self, *args, **kws):
    self.logger.warning('Trying to write files, but file writing was disabled!')
def write(self, *args, **kws):
    self.logger.warning('Trying to write files, but file writing was disabled!')