using scanner to read csv files