code updated in such a way CSV will run EOF, even if any failures in
between with the data setup