       if path is folderPath then -1 else 0
     @appStorage.setValue 'recentFolders', recentFolders, callback
 
+
   expandFolder:(folderPath, callback=noop)->
+
     return  unless folderPath
     for own path, node of @treeController.nodes
       return @treeController.expandFolder node, callback  if path is folderPath
     callback {message:"Folder not exists: #{folderPath}"}
 
+
   # FIXME THIS ~GG getPathHiearchy needs to be fixed for machine.uid
   expandFolders: (paths, callback=noop)->
+
     if typeof paths is 'string'
       paths = FSHelper.getPathHierarchy paths
     path = paths.pop()

           machineItem.data.machine._id is uid
          return machineItem

  # Settings helpers
  #

  updateMountState:(uid, state)->

    return  if KD.isGuest()

        @stopWatching file.path
        @treeController.removeNodeView node


  showDotFiles:(uid)->

    return  unless uid
    @setNodesHidden uid, no
    for own path, node of @treeController.nodes when node.getData().type is 'machine'
