add diagram file