public void delete() {
    try {
      Files.deleteIfExists(file);
    }
    catch (IOException e) {
      LOG.debug(e);
    }

    FileUtil.delete(myIndexPath);
    try {
      closeStreams();
    }
    catch (IOException e) {
      LOG.debug(e);
    }
  }
public void delete()