example code
automatic loading of output files