I have to match the contents of a directory with the attributes of a FeatureClass. The FeatureClass field contains the names (without file endings) of documents which are either .pdf or .jpg files.
I have two directories - one for PDFs and the other for JPGs. I need to match the PDF file names with the FeatureClass Attribute and if they match rename them with the PDF file ending. The ones that are not matched are then obviously JPG.

How can I create the list of files using FME2014?