private function removeDir($theDir)
  {
    $this->logVerbose("Removing %s", $theDir);

    $suc = rmdir($theDir);
    if ($suc===false) $this->logError("Unable to remove directory %s", $theDir);

    $this->myCount++;
  }