       then callback null, @treeController.nodes[path]
       else @expandFolders paths, callback
 
+
   reloadPreviousState:(uid)->
+
     recentFolders = @getRecentFolders()
     if uid
       recentFolders = recentFolders.filter (folder)->

      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()
