check relative path for data file, or env variable