There are several files in a directory. I am trying to search and find all such strings ending with a given string. Instead of searching in all the files present in the directory, I would like to search only in a given set of file names. Finally in the output it should showbe each file namefilename along with the string occurrences found in that file with a semicolon separator. So far I tried below but couldn't get the desired output.
The simplified test case is: there are 5 files in the directory:
file.a.txt
file.b.txt
file.c.txt
file.d.txt
file.e.txt
file.a.txt
file.b.txt
file.c.txt
file.d.txt
file.e.txt
 There is also a file named searchFiles.txtsearchFiles.txt that contains the first three file names3 filenames from above list. So basically I want to search for the string only in the file namesfilenames listed in searchFilessearchFiles.txt.txt
I have tried:
-There can be upto few 1000s of files in a directory and the search file names in searchFiles.txt can be few 100s of file names.
-The file names can be anything and doesn't follow any pattern as such.
-The file names provided in searchFiles.txt can be partial names for instance a.txt instead of file.a.txt which means the initial static portion of the file name "file." may or may not be present in searchFiles.txt.
-preferably looking for a one-liner commands instead of a shell script
- There can be upto few 1000s of files in a directory and the search file names in searchFiles.txt can be few 100s of file names. 
- The file names can be anything and doesn't follow any pattern as such. 
- The file names provided in searchFiles.txt can be partial names for instance a.txt instead of file.a.txt which means the initial static portion of the file name "file." may or may not be present in searchFiles.txt. 
- preferably looking for a one-liner commands instead of a shell script