WP-4700 Added changes to support private file access