saved an .inl file by using templates