in reply to Re: Finding files in a directory tree from and array of file names
in thread Finding files in a directory tree from and array of file names

No, the leading \ isn't the problem.
And yes, the open is redundant here but as you say this isn't the complete code.

I think the problem is either in the sub targetfind function or the foreach