Added writing of reflection/interaction events to file when --export-csv
argument is provided on command line