function getFileInfoList(indexName) {
        var result = new $.Deferred();

        if (!_indexList.hasOwnProperty(indexName)) {
            throw new Error("indexName not found");
        }

        syncFileIndex()
            .done(function () {
                result.resolve(_indexList[indexName].fileInfos);
            });

        return result.promise();
    }
Returns the FileInfo array for the specified index
@param {!string} indexname
@return {$.Promise} a promise that is resolved with an Array of FileInfo's