removing unused 'fs' require in templateFinder