       @storage.setValue "openedFiles", @openedFiles
 
   removeFromOpenedFiles: (file)->
-    fileName = @getFileFullPath file
+    fileName = FSHelper.getFullPath file
     index    = @openedFiles.indexOf fileName
     return if index is -1
     @openedFiles.splice index, 1

        @patchFileIfDiffExist file, localContent, cb, callCounter

  updateFileContentOnLocalStorage: (file, content)->
    fileName = @getFileFullPath file
    @storage.setValue "OE-#{fileName}", content

  removeFileContentFromLocalStorage: (file)->
    fileName = @getFileFullPath file
    @storage.unsetKey "OE-#{fileName}"

  addToOpenedFiles: (fileName)->


  getRecentOpenedFiles: ->
    @openedFiles

  updateEditorStatus:(file, lastSavedContent)->
    fileName   = FSHelper.plainPath file.path
