This sounds like homework, so I won't give you code!
It's pretty easy though:
1) Read the files from the folder (use the
Directory.GetFiles[
^] method)
2) Read the data from your excel file (use ODBC to connect and read the file)
3) Sort the file names in both lists.
4) Compare the lists.