extract some common directories