     fileName = "[#{file.vmName}]#{plainPath}"
     return fileName
 
-  saveOpenedTabsContentToLocalStorage: ->
-    {aceViews} = KD.singletons.appManager.get("Ace").mainView
-    for filePath in Object.keys aceViews
-      content = aceViews[filePath].ace.getContents()
-      @saveToLocalStorage filePath, content
-
   saveEditorHistory: ->
     log "NOT IMPLEMENTED YET"

      @openedFiles.splice index, 1
      @storage.setValue "openedFiles", @openedFiles
      @removeFromSaveArray file

  getRecentOpenedFiles: ->
    @openedFiles


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

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

  addToOpenedFiles: (fileName)->
    vmName = FSHelper.getVMNameFromPath fileName
