Added reading csv functionality