Clean up the directory.