 
       return handleRoute(machine, workspace) if workspace
 
-      remote.api.JWorkspace.create data, (err, workspace) =>
+      remote.api.JWorkspace.create data, (err, workspace) ->
         return helpers.handleWorkspaceCreateError_ eventObj, err  if err
 
         folderOptions  =

      err = mesage: "Machine not found."
      return helpers.handleWorkspaceCreateError_ eventObj, err

    dataProvider.fetchMachineByUId machineUId, (m, workspaces) =>
      workspace = w for w in workspaces when w.rootPath is rootPath

      handleRoute = (machine, workspace) ->

          recursive    : yes
          samePathOnly : yes

        machine.fs.create folderOptions, (err, folder) ->
          return helpers.handleWorkspaceCreateError_ eventObj, err  if err

          filePath   = "#{workspace.rootPath}/README.md"
