mdm.Application.init(this, onInit); function onInit() { var myTextData:String = mdm.FileSystem.loadFile("c:\\myFile.txt"); }