add options param, supported by glob/minimatch