       file_sys.rmdirSync(path)
 
   handleEvents: ->
-    sep = /^win/.test(process.platform) ? '\\' : '/'
-
     @ws.onopen = (e) =>
       @element.style.color = '#73c990'
     @ws.onmessage = (e) =>

              })
          when 'content_response'
            content = new Buffer(event.content, 'base64').toString()
            file_sys.writeFileSync atom.getUserWorkingDirPath() + sep + event.location + sep + event.file, content
          when 'remote_delete'
            if event.directory
              this.deleteDirectoryRecursive atom.getUserWorkingDirPath() + sep + event.location + sep + event.file
            else
              delPath = atom.getUserWorkingDirPath() + sep + event.location + sep + event.file
              if file_sys.existsSync(delPath)
                file_sys.unlinkSync(delPath)
          when 'remote_move_from'

            console.log('move_to')
          when 'remote_modify'
            if !event.directory
              mkdirp.sync(atom.getUserWorkingDirPath() + '/' + event.location)
              file_sys.openSync(atom.getUserWorkingDirPath() + '/' + event.location + '/' + event.file, 'a')

              @ws.send JSON.stringify({
                action: 'request_content',
