add removal of empty directories