Path filename = database.dataPath;
final Path cacheFilename = Envs.join(database.cachePath, Paths.get(cacheFileName));
boolean createCache = false;
if (Files.isRegularFile(cacheFilename)) {
filename = cacheFilename;
reader = new DatDatabaseReader();
} else {
createCache = true;;
}
// try with limit, assure la fermeture de l'input stream à la fin du try