     @modified
 
   contentDifferentOnDisk: ->
-    fs.read(@file.getPath()) != @getText()
+    @contentOnDisk != @getText()
 
   getAnchors: -> new Array(@anchors...)
 

    if path
      throw "Path '#{path}' does not exist" unless fs.exists(path)
      @setPath(path)
      @setText(fs.read(@getPath()))
    else
      @setText('')


      @trigger "path-change", this

  reload: ->
    @contentOnDisk = fs.read(@getPath())
    @setText(@contentOnDisk)
    @modified = false
    @modifiedOnDisk = false

