Name diagram output files after the type of diagram