Fixing issue with relative paths to data files