static <T extends ConfigInstance> String getConfigFilename(ConfigKey<T> key) {
        return key.getName() + ".cfg";
    }
Returns the file name corresponding to the given key's defName.

@param key a {@link ConfigKey}
@return file name
config/src/main/java/com/yahoo/config/subscription/impl/ConfigSubscription.java