rem: var file = treeView.getSelectedFile(); if (!file) 
add: var fileList = treeView.selectedFiles; if (fileList.length == 0) 
context: function openSelectedFile() {  var file = treeView.getSelectedFile();  if (!file)    return;  if (file.isDirectory())    gotoDirectory(file);  else if (file.isFile())    document.documentElement.acceptDialog();}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/5b3486f79bef23e3c114608a1daf436f0081a438/filepicker.js/clean/xpfe/components/filepicker/res/content/filepicker.js