Complete code for Directory_Entry