Deleting redundant directories.