in reply to Searching a file system

I agree with previous orator. In case you need your own wheel, let's examine provided code.

right now I have no time, sorry, but I can give a link to similar code sample.