rem: var lfContractID = "@mozilla.org/file/local;1"; var lfIID = Components.interfaces.nsILocalFile; var lf = Components.classes[lfContractID].createInstance(lfIID); lf.initWithPath(aFilePath); return lf; 
add: const lfIID = Components.interfaces.nsILocalFile; var file; try { file = gFileHandler.getFileFromURLSpec(aFilePath) .QueryInterface(lfIID); } catch(ex) { }      if (!file) { const lfContractID = "@mozilla.org/file/local;1"; file = Components.classes[lfContractID].createInstance(lfIID); file.initWithPath(aFilePath); }  return file; 
context: function createLocalFile(aFilePath) {  var lfContractID = "@mozilla.org/file/local;1";  var lfIID = Components.interfaces.nsILocalFile;  var lf = Components.classes[lfContractID].createInstance(lfIID);  lf.initWithPath(aFilePath);  return lf;}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/ae79291954e87b1071f3522521cdb3a4f029bdad/downloadmanager.js/clean/xpfe/components/download-manager/resources/downloadmanager.js