modify cmd;file format to .csv