cleaned up output directory structures.