Is it possible to rewrite to the simpler this._deleteDirectory()? without the lambda, wait and the future generator?