You define each list in your code. You have to, otherwise how would you reference it? The question doesn't make a lot of sense. If you have a list of <something> and something contains lists and so on you just loop through them all.