We'd still have to keep it in a variable somewhere as it can't be passed to the fileupload progress function. What about I just subtract the filesize from the total when removing an item from the list? We also avoid an extra loop that way.