Create tags from parsed file name

Is this possible? I can't figure it out, if so:
main-next-another-2.jpg
I would like to have the following tags created:
main
next
another
and then some hard-coded ones, like "product."
I'm a little bewildered by the match pattern and how it works, but more importantly, I've no idea if you can use dynamic tags to somehow get the parsed sections of the file name referenced into a tag?
main-next-another-2.jpg
I would like to have the following tags created:
main
next
another
and then some hard-coded ones, like "product."
I'm a little bewildered by the match pattern and how it works, but more importantly, I've no idea if you can use dynamic tags to somehow get the parsed sections of the file name referenced into a tag?