Accommodating directory changes