Unshare a File in Communities

In Lightning Communities, you can unshare a file from a library or from a record. This feature is available in Lightning communities.