How to generate an alert if there are *.avhd files in a directory