trying to build a smarter check of empty dirs