cleanup whitespace
added the ability to read csv files for data