[fix] <cbi> Change output style from scalar to file output;
[fix] <cbi> Refactering coding style;