I want to implement something to search in files for things

I know I could write my own code to read the file and do an instr etc

What I was wondering is:
Is it possible to envoke the xp PersistentHandler search classes?