rem: if(!this.fileInst || !this.fileChannel || !this.inputStream){ dump("Please open a valid file handle for reading . . .\n"); return null; 
add: {  if(!this.fileInst || !this.fileChannel || !this.inputStream) { dump("Please open a valid file handle for reading . . .\n"); return null; 
context: read : function() {    try {    if(!this.fileInst || !this.fileChannel || !this.inputStream){        dump("Please open a valid file handle for reading . . .\n");        return null;    }            var fileExists          = this.exists(this.fileInst.path);    if(!fileExists) {        dump("WARNING: \""+this.fileInst.path+"\" does not exist...\n");        return;    }    var offset      = this.fileInst.fileSize;    var perm        = this.fileInst.permissions;         //dump("PATH i am trying to read = " + this.fileInst.path + "\n");    this.fileChannel.init(this.fileInst, 1, perm);    var inStream = this.fileChannel.openInputStream();    this.inputStream.init(inStream);    var fileContents        = this.inputStream.read(this.fileInst.fileSize);    //dump(fileContents);    inStream.close();            return fileContents;    }    catch (error){ dump("**** ERROR:"+error+"\n\n"); }},
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/46e7c638c4651d5af5b1ea9556848414e43314af/io.js/buggy/xpcom/tests/utils/io.js