I would update the progress bar after each file is done. if there is 10 of them, then use 10% for each step.