Use the new directory reading functions.