protected final static boolean deleteDir(File dir) {
		File[] flist = dir.listFiles();
		if (flist == null) {
			return false;
		}
		for (int i = 0; i < flist.length; i++) {
			if (flist[i].isDirectory()) {
				if (!deleteDir(flist[i]))
					return false;
			}
			else {
				if (!flist[i].delete())
					return false;
			}
		}
		return dir.delete();
	}
Delete a directory and all of its contents.
@param dir
@return true if delete was successful.  
If false is returned, a partial delete may have occurred.
Ghidra/Framework/DB/src/main/java/db/Database.java