         if position
           text = "Line #{position.row + 1}"
         else
-          text = fsUtils.base(file)
+          text = path.basename(file)
         @div text, class: 'secondary-line'
 
   toggleFileSymbols: ->

TagReader = require './tag-reader'
Point = require 'point'
fsUtils = require 'fs-utils'
$ = require 'jquery'

module.exports =

        continue unless position
        tags.push
          file: match.file
          name: path.basename(match.file)
          position: position
      @miniEditor.show()
      @setArray(tags)
