Also note that this change makes the catch block in uploadSourceFile shorter and more readable - that method doesn't need to know that there was a virus, just that something went wrong.