creating view files