preparements for directory per item.