1、Mkdir before save file
2、Export every API's data to log file under 'kcsapi/' folder.