This example generates Pythia events and fills cross section information from pyint5. The example uses streaming I/O to write a file and then read it.