No longer forget to call closedir()