Put the loader template in a separate file