public Version storedVersion() {
        Optional<byte[]> version = curator.getData(versionPath);
        if (version.isPresent()) {
            try {
                return Version.fromString(Utf8.toString(version.get()));
            } catch (Exception e) {
                // continue, use value in file
            }
        }
        try (FileReader reader = new FileReader(versionFile)) {
            return Version.fromString(IOUtils.readAll(reader));
        } catch (Exception e) {
            return Version.emptyVersion;
        }
    }
Contains version information for this configserver. Stored both in file system and in ZooKeeper (uses
data in ZooKeeper if distributeApplicationPackage and data found in ZooKeeper)

@author Ulf Lilleengen
@author hmusum
configserver/src/main/java/com/yahoo/vespa/config/server/version/VersionState.java