Delete the matching files in a directory

Accepts a directory and wildcard pattern to delete files in a folder