implemented createdDir