Added template toolkit file detect