hehehe I'm not always one for the obvious. Thanks! Stephen > Have you read the manual pages? :-) This is very easy -- practically a one-liner: > > sub filter { > my($entity, $fname, $ext, $type) = @_; > return action_discard() if ($fname eq 'magic-filename.bad'); > } > > Regards, > > David.