     @shouldDestroyOnFileDelete = params?.shouldDestroyOnFileDelete ? -> false
 
     if params?.filePath
-      @serializedChanges = params.outstandingChanges
+      @serializedChanges = Buffer.from(params.outstandingChanges, 'base64')
       @setPath(params.filePath)
       @load() if params?.load
 

        @emitDidChangeEvent({
          oldRange: new Range(Point.ZERO, oldExtent),
          newRange: new Range(Point.ZERO, @buffer.getExtent()),
          oldText: null,
          newText: null
        })
        @emitter.emit 'did-reload'
    this

          @emitDidChangeEvent({
            oldRange: new Range(Point.ZERO, oldExtent),
            newRange: new Range(Point.ZERO, @buffer.getExtent()),
            oldText: '',
            newText: ''
          })

    @fileSubscriptions.add @file.onDidDelete =>
