Could you post the code that you're currently using to block the send if you already have the file? Probably be easier for me (or someone else) to modify what you currently have so that it works with wildcards, than to write up something new.