First part of reading data file feature. Adds unit tests also.