move code to parsebranch function, always use case-sensitive str comparison
send cell array of filepatterns to add if more than one
use filterOpts to find double-hyphen