supporting many templates files