Added an option to generate a single source file per extension