Gets rid of premature directory cleaning code.