configuration. * Status queries.
* Replace all directory reading code by a generic readDirectory() function.