Updated viewfile