Each thread stores the generated content independently, and finally integrates the generated content into a file