File Shelf remove the access to the "unpublish node files" automatically.
Drupal doesn't have the ability to stop users to access files when an associated parent entity (e.g. Node) is unpublished. Instead old file links will still remain accessible even the old revision is outdated. This becomes an issue when users click on any old file links that cached by search engines until you remove the files entirely from the server.