added options argument for specifying encoding, shortName, match, and exclude patterns
bumped version