Cleanup directory.