def find_in_data_path(filename):
    for path in config.data_path:
        path = os.path.expanduser(os.path.expandvars(path))
        file_path = os.path.join(path, filename)
        if os.path.isfile(file_path):
            return file_path
    raise IOError("{} not found in Fuel's data path".format(filename))
Searches for a file within Fuel's data path.
dataset/ETHPy150Open mila-udem/fuel/fuel/utils/__init__.py/find_in_data_path