fix generation of multiple file

1 job for issue-98-n in 2 minutes and 30 seconds (queued for 1 second)