Debugging to find out why directories aren't being filled.