dir exist checking