Filter block for send_directory