Further isolation of knowledge of link and filenames from generation code into ProfileKnowledgeProvider