@Override
        public void validate(FileContentReference fileContentReference) throws PortalException {

          if (!Validator.isNull(fileContentReference.getSourceFileName())) {

            DLValidatorUtil.validateFileName(fileContentReference.getSourceFileName());
          }
        }
        @Override
        public void validate(FileContentReference fileContentReference) throws PortalException {

          DLValidatorUtil.validateFileExtension(fileContentReference.getSourceFileName());

          DLValidatorUtil.validateSourceFileExtension(
              fileContentReference.getExtension(), fileContentReference.getSourceFileName());
        }