do not assume .d directory exists