Revert "changes for real directories"

This reverts commit 2c1bb67bf13411727dbe9d57d3f9c5a0ac68a39c.