Implement directory nesting