filelist = "\n".join(clFiles(findSources(project_info.info("PROJECT_PATH")), project_info.info("PROJECT_PATH")))
while template.find("$filelist") != -1:
template = template.replace("$filelist", filelist)
filelist = "\n".join(clFiles(findSources(project_info.info("PROJECT_PATH")), project_info.info("PROJECT_PATH")))
while template.find("$filelist") != -1:
template = template.replace("$filelist", filelist)