private IEnumerable <FileSet> GetDirs(string startDir, bool askCached) { if (!_fileManager.DirExists(startDir)) { return(new List <FileSet>()); } return(_fileManager.GetDirectories(startDir).Select(d => new FileSet(_fileManager, d, askCached)).ToList()); }