automatic node editor - materials textures

I have some blend files made with textures and materials without using the node editor.
Is there a way or script to do this automatic for me.
I am using blender internal render.

Using a character made with texture material for example the skin.
Compositing view for node editor
In the properties panel click material button then button use shader nodes to render the material
In the node editor choose new. And then I can choose my texture by clicking on the round material button.