change the name of a material file