docs: public boolean deleteExisting(final File file) {
      if (!file.exists()) {
        return true;
      }
      boolean deleted = false;
      if (file.canWrite()) {
        deleted = file.delete();
      } else {
        LogLog.debug(file + " is not writeable for delete (retrying)");
      }
      if (!deleted) {
        if (!file.exists()) {
          deleted = true;
        } else {
          file.delete();
          deleted = (!file.exists());
        }
      }
      return deleted;
    }