writes discrete files to target/generated-sources or wherever else told