make strusInsert work for deep directories