I am using mydumper to dump the db. Since there is not support to generate csv output from mydumper I need to do that from a shell script.
Mydumper generates 2 files