code: def save(self, **kwargs):
          
          self.remove_file()
          if not self.image:
              self.generate(save=False)
          else:
              self.image.name = self.file()
          super(FormatedPhoto, self).save(**kwargs)
docs: Overrides models.Model.save
  
          - Removes old file from the FS
          - Generates new file.