Add support for csv.

Signed-off-by: crynobone <crynobone@gmail.com>