doccat & filecat validation