How do i Generate material instances from selected textures via EditorUtility?

How do i Generate material instances from selected textures via EditorUtility?
I would ike to save time in my workflow when i import textures to my content browser. I’d like to find a way to select the texture files and run an Editor Utility Script that will generate a material instance for each batch of textures. I assume this has to be done by searching for the textures name or suffix. Any help would be much appreciated.

Thanks in advance