added option to change data file