rem: var file = URLpathToFile(e.target.selectedItems[0].firstChild.getAttribute("path")); 
add: var path = e.target.selectedItems[0].firstChild.getAttribute("path"); 
context: function onSelect(e) {  if (e.target.selectedItems.length != 1)    return;  var file = URLpathToFile(e.target.selectedItems[0].firstChild.getAttribute("path"));  if (file.isFile() || (filePickerMode == nsIFilePicker.modeGetFolder)) {    /* Note, if we're in GetFolder mode, everything in the display list       will be a directory, so we don't need an extra check */    textInput.value = file.leafName;  }}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/e0aa20cfd6a35e56c5ecda3b69cd250516b8120a/filepicker.js/clean/xpfe/components/filepicker/res/content/filepicker.js