public void Read() { invoker.Invoke(() => { foreach (var item in File.Read(parser)) { logentry(item); } }); }