Load pages from file and use templates to force image reload