Register a Validator class for file verification.

        :param validator:
        :return:

def register_validator(validator):
        """
        Register a Validator class for file verification.

        :param validator:
        :return:
        """
        if hasattr(validator, "EXTS") and hasattr(validator, "run"):
            ValidatorFactory.PLUGINS.append(validator)
        else:
            raise ValidatorException("Validator does not have 'run' method or EXTS variable!")