Optionally specify a pattern that must match for a file to be removed.