def blob_exists(storage_client, bucket_name, filename):
   """Checks if a file exists in the bucket."""
   
   bucket = storage_client.get_bucket(bucket_name)
   blob = bucket.blob(filename)
   return (blob.exists())