I believe this should be in a generic util class. Not a specific for storage. Please factor it out to azureutil.