public static List<String> getOtherConfigServersInCluster(ConfigserverConfig configserverConfig) {
        return ConfigServerSpec.fromConfig(configserverConfig)
                               .stream()
                               .filter(spec -> !spec.getHostName().equals(HostName.getLocalhost()))
                               .map(spec -> "tcp/" + spec.getHostName() + ":" + spec.getConfigServerPort())
                               .toList();
    }
Returns all files in the given directory, non-recursive.
configserver/src/main/java/com/yahoo/vespa/config/server/filedistribution/FileDistributionUtil.java