Add template parameter

Allow the template file path to be changed.