displaying templates file on browser