csv data printed in table (non-object-oriented version)