List of allFiles assignment for the index creation

Array.prototype.concat doesn't update the destination array, it returns the concatenation