actually iterate over the dir