'Validate and extract manifest from a FileUpload instance.
Can raise ParseError.'

@classmethod
def extract_and_validate_upload(cls, upload):

    with private_storage.open(upload.path) as file_obj:
        file_obj.content_type = 'application/zip'
        manifest_contents = ExtensionValidator(file_obj).validate()
    return manifest_contents
