<PackageReference Include="Relativity.Server.Import.SDK" Version="2.9.2" />

TempTextFileDeletor

public class TempTextFileDeletor
using Relativity.DataExchange.Io; using System.Collections.Generic; namespace kCura.WinEDDS { public class TempTextFileDeletor { private IEnumerable<string> _filepaths; public TempTextFileDeletor(IEnumerable<string> filePaths) { _filepaths = filePaths; if (_filepaths == null) _filepaths = new string[0]; } public void DeleteFiles() { foreach (string filepath in _filepaths) { if (!string.IsNullOrEmpty(filepath)) FileSystem.Instance.File.Delete(filepath); } } } }