 
         # Empty when it was run from the dev console
         return unless file
-
-        # Stack traces may be a file URI
-        if /file:\/\/(\w*)\/(.*)/.test(file)
-          file = /file:\/\/(\w*)\/(.*)/.exec(file)[2]
-
         packageName = getPackageName(file)
         return packageName if packageName?
 

        packagePaths[packageName] = fs.realpathSync(packagePath)

    getPackageName = (filePath) =>
      if path.isAbsolute(filePath)
        for packName, packagePath of packagePaths
          continue if filePath is 'node.js'

      @getPackageNameFromFilePath(filePath)

    if options.detail?
      packageName = getPackageName(options.detail)
      return packageName if packageName?

    if options.stack?
