Fixed gunzip. Added delete_index method.