Function to read csv files and print them