invoke _generate_dsp() have it open the output file, and fix some path parsing and...