     editor = @window.document
     editor.ace.on 'open', ({filename}) =>
       if File.isDirectory filename
-        @pane.reload filename
+        @pane.reload filename # I don't think this can ever happen.
       else
         openedPaths = @get 'openedPaths', []
         if not _.include openedPaths, filename

    'Command-Ctrl-N': -> @pane.toggle()

  storageNamespace: ->
    @.constructor.name + @dir

  load: ->
    @pane = new ProjectPane @window, @
    @pane.toggle()


        openedPaths = _.without openedPaths, filename
        @set 'openedPaths', openedPaths

  load: ->
    # Reopen files (remove ones that no longer exist)
    openedPaths = @get 'openedPaths', []
    for path in openedPaths
