A better approach is to check for the existence of the file, regardless of cloud provider.