public void DeleteDuplicateByPath(string path, string [] extensions) { var seeker = new Seeker(); var filesFound = seeker.GetFilesByPath(path, extensions); seeker.DeleteDuplicateFiles(filesFound.ToArray()); }