YDPCardDataEncoder:Reading input data and encoding, saving into output file.