hold file contents in memory as unicode; added template-rendering function to context