Refactoooooo
Auto remove empty directories