Storage device and method for sharing of data