modify swift3 dir tree