If it wasn't obvious already, Step 1 above refers to a VB DLL, Step 2 refers to mIRC script.

I have a data file full of about 10,000 filenames and it took a couple seconds to find and display the matches. So, using a DLL for file access is efficient.