added filter method to minimatch

and made options optional