maintain sub directory structure