private void OnSendToWorkerStarted(object sender, DoWorkEventArgs e) { string sendToPath = _sendToTask.GetSendToFolderPath(_windowsOs); FileReader fileReader = new FileReader(sendToPath, new List<string>() { ".ini" }); ObservableCollection<FileItem> sendToFileItems = fileReader.GetAllFiles(); e.Result = sendToFileItems; }