saved before test
added a new constructor in dataReader that takes only filename as parameter