Just don't let him watch the episode called "Home", some other episodes could also be to early at 12, but most should be ok.
I'll tell $wifie that I'll have to re-watch the whole X-Files this month to figure out which episodes my son should avoid when he is 12 (that is around 9 years from now). This definitely counts as parenting work.