Add template and view blueprints

Also enhance assertFile