in reply to File Access

There are two issues here. Try this:
. . while (<NOTES>){ print "Found 'test'\n" if (/test/); }
It is more robust regarding newlines, other characters or other text.

Hope this helps,

Jeroen
I was dreaming of guitarnotes that would irritate an executive kind of guy (FZ)