added problem function read from data file

currently commented out since it's fixed to a particular data file