Add possibility to require a list of directories

It makes the need for a complex directory structure more elegant to specify.