- add missing entries - remove redundant entries which are inherited from parent dirs - mark dirctories as such - anchor specific files