         event = JSON.parse(e.data)
         switch event.event
           when 'remote_create'
-            console.log('Created: ' + event.location + sep + event.file)
+            console.log('Created: ' + event.location + '/' + event.file)
             if event.directory
-              mkdirp.sync(atom.getUserWorkingDirPath() + sep + event.location + sep + event.file)
+              mkdirp.sync(atom.getUserWorkingDirPath() + '/' + event.location + '/' + event.file)
             else
-              mkdirp.sync(atom.getUserWorkingDirPath() + sep + event.location)
-              file_sys.openSync(atom.getUserWorkingDirPath() + sep + event.location + sep + event.file, 'a')
+              mkdirp.sync(atom.getUserWorkingDirPath() + '/' + event.location)
+              file_sys.openSync(atom.getUserWorkingDirPath() + '/' + event.location + '/' + event.file, 'a')
 
               @ws.send JSON.stringify({
                 action: 'request_content',

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

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

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