class DemoLoaderService {

    String replaceFunctionalityIdPlaceholders(Map<String, Long> functionalityIds, String fileContent) {
        String replaced = fileContent;
        for (Map.Entry<String, Long> entry : functionalityIds.entrySet()) {
            replaced = replaced.replace("{{F-" + entry.getKey() + "}}", entry.getValue().toString());
        }
        return replaced;
    }

}