Correct percentage calculation for multiple files.