Port FolderBrowser to Scala