Dump file as csv