creating pid folder