modified getBinaryFilePath to address the issue with file path of data files in some environments.