Fixing reading deleted dir