Move template to priv/ and fix eval_file. Closes 372