I don’t think there’s a native way for Bubble to search or index the words from within files. So, I suspect the solution will require using a 3rd party tool and connecting to it from Bubble through the API.
Have you searched to see whether there are any companies or web services that provides this feature and an API for you to use?