private void CollectFiles() { fileCollection = new List <FileInfo>(); foreach (String _directory in FileSystem.GetAllDirectories(path)) { FileSystem.AppendFiles(_directory, extensions, fileCollection); } }