Removed useless code from csv implementation