             filesystem.watchingLocked = true
             callbackOrig = callback
             callback = (err, res) ->
-                #console.log 'done'
                 filesystem.watchingLocked = false
                 callbackOrig err, res
-        #else
-        #    callback_orig = callback
-        #    callback = (err, res) ->
-        #        console.log 'done'
-        #        callback_orig err, res
 
         switch task.operation
             when 'post'

            if err and err.status isnt 404
                callback err
            else if res?.path? and fs.existsSync res.path
                fs.unlink res.path, ->
                    callback null
            else

            if err
                callback err
            else
                log.info "Directory ensured: #{absPath}"
                binary.infoPublisher.emit 'directoryCreated', absPath

                # Update directory information
