Need a scripter quick

I am doing a project for work and do not have the time to figure this script
out myself. I have to admit it’s a little over my head.

The general overview is this. I get terrain tiles that have a very specific name.
Example c16r24. I have hundreds of these tiles. I have an Arial photograph for
each tile with the same name as the tile it goes with. Example c16r24.png. The
overall project is to create the material and attach it to the correct

 I can be very specific with the steps needed to do this but will require
a scripter to write the code. Please contact me if you can help.