public static IEnumerable<string> GetDictionaryIds() { return from path in Directory.GetFiles(GetSpellingDirectoryPath(), "*.dic") where IsValidDictionary(path) select DictIdFromPath(path); }