checking status code to make sure it downloaded the right file.