clearing up the directory structure