getKeyRes function

Finds the name of the key resource for each path for each MFG