update to allow for interp of a txt file