Implemented Directory._load_entries using tail recursion