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: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/72d11531a98c05182f7e0b93e89c5871fb7db820/filepicker.js/clean/toolkit/components/filepicker/content/filepicker.js