add file reading and sample datafile