code: def delete(self, file_, delete_file=True):
          
          image_file = ImageFile(file_)
          if delete_file:
              image_file.delete()
          default.kvstore.delete(image_file)
docs: Deletes file_ references in Key Value store and optionally the file_
          it self.