         @emitModifiedStatusChanged(@isModified())
 
     @file.on "moved", =>
-      @state.set('relativePath', @project.relativize(@getPath()))
+      @relativePath = @project.relativize(@getPath())
       @emit "path-changed", this
 
   ### Public ###

    text: -> new telepath.String('', replicated: false)
    id: -> guid.create().toString()
    filePath: null

  @::lazyGetter 'project', -> @grandparent


    @getRelativePath()

  getRelativePath: ->
    @relativePath

  # Sets the path for the file.
  #
