rename dictionary to directory