'Removes the chunk from the file'

def delete(self):

    delete_bytes(self.__fileobj, self.size, self.offset)
    if (self.parent_chunk is not None):
        self.parent_chunk._update_size((self.parent_chunk.data_size - self.size))
