Add target directories before adding files