Parsing file.txt and if exist one of value in folder

Hello to all
im trying to parsing a txt file
q:lines of file"C:\file.txt"
A: blabla.exe
A: hora.exe
A: iconv.dll
T: 0.388 ms

after i need to check if one of the value what exist in the file.txt existing in the folder c:\test
q:exists file whose (name of it contains (lines of file"C:\file.txt")) of folder "c:\test"
E: A singular expression is required.
how can you see its not working… some 1 have idea how can i do this?
Thanks,
Julia