Given that this is a Mac app, have you considered taking advantage of the considerable amount of metadata for files (sometimes including full text content) made available by QuickLook? It could extend functionality for many file formats without requiring the app to be able to parse them.
That's brilliant thank you I will investigate on this! I haven't thought about it.