Removing missing files from the template.