Files are shared with others for collaboration and execution of projects. When you do not want those you shared the files with to access the document any longer, you had to remove the person or change the access settings.
You do not have to worry about that any longer. You can actually set expiry dates for things in your drive that you share with others. Click here to watch a video on how to do this.