     @cachedContents
 
   writeFileSync: (filePath, contents) ->
-    Grim.deprecate("Use File::write instead")
     encoding = @getEncoding()
     if encoding is 'utf8'
       fs.writeFileSync(filePath, contents, {encoding})


  # 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) ->
    if not @existsSync()
      @cachedContents = null
    else if not @cachedContents? or flushCache
