Replaced dir with path to data file