Load template for external file