@Override
    protected RankingExpression readExpressionFromFile(String name, FileReference fileReference) throws ParseException {
        try {
            return new RankingExpression(name, readExpressionFromFile(constantsPath.append(fileReference.value()).toFile()));
        } catch (IOException e) {
            throw new IllegalArgumentException("Missing expression file '" + fileReference.value() + "' for expression '" + name + "'.", e);
        }
    }
Allows us to provide canned tensor constants during import since file distribution does not work in tests
model-evaluation/src/test/java/ai/vespa/models/evaluation/RankProfilesConfigImporterWithMockedConstants.java