check in template, require certain files