remove directories.