Add possibility to require a list of directories