finalize csv read