         @patchFileIfDiffExist file, localContent, cb, callCounter
 
   updateFileContentOnLocalStorage: (file, content)->
-    fileName = @getFileFullPath file
+    fileName = FSHelper.getFullPath file
     @storage.setValue "OE-#{fileName}", content
 
   removeFileContentFromLocalStorage: (file)->
-    fileName = @getFileFullPath file
+    fileName = FSHelper.getFullPath file
     @storage.unsetKey "OE-#{fileName}"
 
   addToOpenedFiles: (fileName)->

      @storage.setValue "openedFiles", @openedFiles

  removeFromOpenedFiles: (file)->
    fileName = @getFileFullPath file
    index    = @openedFiles.indexOf fileName
    return if index is -1
    @openedFiles.splice index, 1

    dash queue, callback

  addToSaveArray: (file)->
    fileName = FSHelper.getFullPath file
    index    = @filesToSave.indexOf fileName
    @filesToSave.push fileName if index is -1
    @storage.setValue "saveRequestedFiles", @filesToSave
    @initializeListeners()

  removeFromSaveArray: (file) ->
    fileName = FSHelper.getFullPath file
    index = @filesToSave.indexOf fileName
    return  unless index > -1
    @filesToSave.splice index, 1
