The connection making moved outside callRPC
Rename: doEncDec -> doConversion
The rpc command can read parameters from file