Jay Grenier with a tutorial on having MEL read and write a text file, Jay notes that “Knowing how to read and write a file in MEL is one of the skills you need to have as a scripter. Maybe the file contains animation data you need to access, or skin weighting data, or even a list of objects needed in a scene. It can contain almost any type of data and at some point or another it will be your job to get that information out of the file and into Maya. This tutorial will show you how to do it.”