clean directory structures