Clean up directory.