Compare folder file names with excel data

we can at least involve LINQ, if we want to

more sharp to define - what, where to delete (file on filesystem, row in excel)

some hint for the above requirement part.

Find some starter help

Assign Activity:
arrExcelFileNames | String Array =

YourDataTableVar.AsEnumerable.Select(Function (x) x(YourColNameOrIndex).toString.ToUpper.Trim).toArray

Assign Activity:
arrPresentFileNames | String Array =
new DirectoryInfo(YourFolderPath).GetFiles().Select(Function (x) x.Name.ToUpper).toArray

Assign Activity:
arrFileFoundAndNotInExcel |String Array =
arrPresentFileNames.Except(arrExcelFileNames).toArray

As usual, we can do RnD / prototyping within the immediate panel:
Understanding the 6 Debugging Panels of UiPath in the easiest way possible! - News / Tutorials - UiPath Community Forum

And

[CheatSheet] - Filesystem APIs - News / Tutorials - UiPath Community Forum