     onPath = (childPath) ->
       paths.push(childPath)
       true
-    @traverseTreeSync(rootPath, onPath, onPath)
+    fsPlus.traverseTreeSync(rootPath, onPath, onPath)
     paths
 
   # Public: Moves the file or directory to the target synchronously.

  absolute: (relativePath) ->
    return null unless relativePath?

    homeDir = @getHomeDirectory()

    if relativePath is '~'
      relativePath = homeDir

  #   The function to execute on each directory, receives a single argument the
  #   absolute path (defaults to onFile)
  traverseTreeSync: (rootPath, onFile, onDirectory=onFile) ->
    return unless fsPlus.isDirectorySync(rootPath)

    traverse = (directoryPath, onFile, onDirectory) ->
      for file in fs.readdirSync(directoryPath)
