   #
   # Returns a promise that resolves to the {EditSession} for the file URI.
   openAsync: (filePath, options={}) ->
+    absoluteFilePath = filePath
     filePath = project.relativize(filePath)
     initialLine = options.initialLine
     activePane = @getActivePane()

ipc = require 'ipc'
path = require 'path'
Q = require 'q'

    editSession = activePane.itemForUri(filePath) if activePane and filePath
    promise = project.openAsync(filePath, {initialLine}) if not editSession

    fileSize = 0
    fileSize = fs.statSync(absoluteFilePath).size if fs.exists(absoluteFilePath)

    Q(editSession ? promise)
      .then (editSession) =>
        if not activePane
          activePane = new Pane(editSession)
          @panes.setRoot(activePane)

        activePane.showItem(editSession)
        activePane.focus()
      .progress (value) =>
        console.log "#{filepath} read #{100 * (value / fileSize)}"


  # Private: DEPRECATED Synchronously Opens a given a filepath in Atom.
  open: (filePath, options = {}) ->
    console.warn("RootView::open is deprecated")
    changeFocus = options.changeFocus ? true
    initialLine = options.initialLine
    filePath = project.relativize(filePath)
