add regenerateSourceFromOutput (but not for generated files)