Cleaning up directory.