Make  template method can find the source file