avoid using recursive delete with wildcards