I'm not entirely convinced about this `done().then()` where the `then` function is just accessing the closure variables. For that, you wouldn't even need it, right? Am I missing something?

I'd recommend to have the following:

```javascript
function _searchPath(files) {
    var searchFor = "nls/strings.js",
        baseDir;

    // Rest of the filtering logic here...

    return baseDir;
}

function _initializeLocalization(projectPath) {
   _resetLocalization();

    FileIndexManager.getFileInfoList("all")
        .then(_searchPath)
        .then(function(baseDir) {
            // initialization and error handling logic
        });
``` 

What do you think?