instead of going to 100% and then waiting for the file processing to finish, let the progressbar go to 90%, then finish the last 10% once the file processing is done