finished extract directory code