autogen: split files in to separate groups and accept group names as command-line args