Add support for flags inside sub arguments

Fixes #80.
Merge pull request #105 from kevva/subarg

Add support for flags inside sub arguments
minor tweaks
Add support for customizable filenames

Fixes #35.