Trigger proper error message when template file cant be found.