`for (let i = 0; i < fileList.length; i++) { const currentFileExt = fileExtRegExp .exec(fileList[i].name)[1] .toLowerCase(); // Get file extension.` will have error on these line