public void OnCreated(string pathFile) { Thread.Sleep(1000); Task.Factory.StartNew( () => _readerService.Begin(pathFile) ); }