Allow more than one file to be generated per module identifier

Closes #49.