use map[string]bool for foundSmbDirs