now user can set the charset of input file using -c paramater