added the ability to read csv files