Renaming Docx using dictionary

How can I rename files in a folder to its corresponding values using key, key may not be exact to the file name part but both the key and parts of the file name has similar name which is A1.

@Helpmepls

Please dont create multiple topics on same

Hi @Helpmepls ,
Can you show input and expect output?
regards,