added dir parse