Search templates in the current directory of input file first