     catch e
       false
 
-  # Returns an array with all the names of files contained
-  # in the directory path.
+  # Returns an array with the paths of the files and folders
+  # contained in the directory path.
   listSync: (rootPath, extensions) ->
     return [] unless @isDirectorySync(rootPath)
     paths = fs.readdirSync(rootPath)

    catch e
      relativePath

  # Returns true if the file specified by path exists
  exists: (pathToCheck) ->
    pathToCheck? and fs.existsSync(pathToCheck)

  # Returns true if the file specified by path exists and is a
  # directory.
  isDirectorySync: (directoryPath) ->
    return false unless directoryPath?.length > 0
    try

    catch e
      false

  # Returns true if the specified path is executable.
  isExecutableSync: (pathToCheck) ->
    return false unless pathToCheck?.length > 0
    try
