Add cached template compiling from file.