get data file for driver - updateVar from cpp version