Handling of persistent directory