added .bonsai extension to output file