Modularized dir