create directory parser