private void btRun_Click(object sender, EventArgs e) { string[] logFilePaths = Directory.GetFiles(tbLogFolder.Text, "is*.txt"); foreach (string logFile in logFilePaths) { ISLogAnaliser isLogAnaliser = new ISLogAnaliser(logFile); isLogAnaliser.Execute(); lbLogFiles.Items.Add(logFile + " : " + isLogAnaliser.GetNumUniqIps()); CollectionHelpers.MergeFirstIntoSecond(isLogAnaliser.GetWebRequestIps(), _webRequestsAccumulated); } PrintResults(); }