How to fix this process

Practicefinal.xaml (11.2 KB)
1.File- A1.docx (15.3 KB)
1.File- A2.docx (15.4 KB)
MASTER FILE.xlsx (19.5 KB)

So basically, this process is to rename the docx of e.g. A1 to John, using key and value in a datatable to a dictionary, also the name of docx and key in excel are not exact but they have a similarity which is “A1”.

Thank you