public void HelpFileListonSelect(string thisobj, string row)
            {
            coFileObject fo = new Torque_Class_Helper("FileObject").Create().AsString();
            fo.openForRead(console.GetVarString(thisobj + ".fileName[" + row + "]"));
            string text = "";
            while (!fo.isEOF())
                text += fo.readLine() + "\n";

            fo.close();
            console.Call("HelpText", "setText", new[] {text});
            }
 public string loadFileText(string file)
     {
     coFileObject fo = new Torque_Class_Helper("FileObject").Create();
     fo.openForRead(file);
     string text = "";
     while (!fo.isEOF())
         {
         text += fo.readLine();
         if (!fo.isEOF())
             text += "\n";
         }
     fo.delete();
     return text;
     }