Adding of directories while ignoring contents