WP-4700 Add handling of private files