         @refreshFolder @nodes[nextPath], =>
           callback?()
         return
- 
-      @expandFolder @nodes[nextPath], => 
+
+      @expandFolder @nodes[nextPath], =>
         lastPath = nextPath
         _expand path
 
     _expand path
 
   confirmDelete:(nodeView, event)->
-    
+
     if @selectedNodes.length > 1
-      new NFinderDeleteDialog {}, 
+      new NFinderDeleteDialog {},
         items     : @selectedNodes
         callback  : (confirmation)=>
           @deleteFiles @selectedNodes if confirmation

    else
      nodeView.collapse()
      callback? nodeView
  
  navigateTo:(path, callback)->
    
    return unless path
    
    path = path.split('/')
    path.shift()  if path[0] is ''
    path.pop()    if path[path.length-1] is ''

      #   @addNode newFile, index

      @selectNode @nodes[newFile.path]



    # #
    # # file.on "fs.saveAs.finished", (newFile, oldFile)=>
    #
    #   log "fs.saveAs.finished", "+>>>>>"
    #
    #   parentNode = @nodes[path]
    #   if parentNode
    #     if parentNode.expanded
