 
   # Public: Returns this file's completely resolved {String} path.
   getRealPathSync: ->
-    Grim.deprecate("Use File::getRealPath instead")
     unless @realPath?
       try
         @realPath = fs.realpathSync(@path)

  ###

  readSync: (flushCache) ->
    Grim.deprecate("Use File::read instead")
    if not @existsSync()
      @cachedContents = null
    else if not @cachedContents? or flushCache

    @cachedContents

  writeFileSync: (filePath, contents) ->
    encoding = @getEncoding()
    if encoding is 'utf8'
      fs.writeFileSync(filePath, contents, {encoding})
