load templates from file