How to read each PDF that is stored in a folder using keywords for sorting?

I want to use 2 csv lists to compare each pdf file in my folder.
Based on matching or not the pdfs need to be stored in another csv file.

please help me,

Thanks

@Tery_Jay can you share screenshots for your scenario, it will helpful to understated the scenario.