 
   # Private: DEPRECATED
   open: (filePath, options={}) ->
-    filePath = @resolve(filePath) if filePath?
+    filePath = @resolve(filePath)
     for opener in @openers
       return resource if resource = opener(filePath, options)
 

  #
  # Returns a promise that resolves to an {EditSession}.
  openAsync: (filePath, options={}) ->
    filePath = @resolve(filePath) if filePath?
    for opener in @openers
      return Q(resource) if resource = opener(filePath, options)



  # Private: DEPRECATED
  bufferForPath: (filePath, text) ->
    absoluteFilePath = @resolve(filePath)

    if filePath
      existingBuffer = _.find @buffers, (buffer) -> buffer.getPath() == absoluteFilePath

    existingBuffer ? @buildBuffer(absoluteFilePath, text)

  # Private: Given a file path, this retrieves or creates a new {TextBuffer}.
  #
