def delete(self, file_, delete_file=True):
image_file = ImageFile(file_)<EOL>if delete_file:<EOL><INDENT>image_file.delete()<EOL><DEDENT>default.kvstore.delete(image_file)<EOL>
Deletes file_ references in Key Value store and optionally the file_
it self.