 
      - parameter url:             the url
      - parameter appScoped:       is it appScoped?
-     - parameter documentfileURL: the document file URL if not app scoped
 
      - throws: throws value description
 
      - returns: the securized URL
      */
-    public func getSecurityScopedURLFrom(_ url: URL, appScoped: Bool=false, documentfileURL: URL?=nil)throws -> URL {
-        let key=self._getBookMarkKeyFor(url, appScoped: appScoped, documentfileURL: documentfileURL)
+    internal func _getSecurityScopedURLFrom(_ url: URL, appScoped: Bool=false)throws -> URL {
+        let key=self._getBookMarkKeyFor(url, appScoped: appScoped)
         if let stringifyedData=self.metadata.URLBookmarkData[key] as? String {
             if let base64EncodedData=stringifyedData.data(using: Default.STRING_ENCODING) {
                 if let data=Data(base64Encoded: base64EncodedData, options: [.ignoreUnknownCharacters]) {

            throw SecurityScopedBookMarkError.bookMarkFailed(message: "\(error)")
        }
    }
    
    
}

    }


    internal func _securityScopedBookmarkExits(_ url: URL, appScoped: Bool=false) -> Bool {
        let key=_getBookMarkKeyFor(url, appScoped: appScoped)
        let result=self.metadata.URLBookmarkData.keys.contains(key)
        return result
    }



    fileprivate func _createDataFromBookmarkForURL(_ fileURL: URL, appScoped: Bool=false) throws -> Data {
        do {
            #if os(OSX)
                let data = try (fileURL as URL).bookmarkData(options: URL.BookmarkCreationOptions.withSecurityScope,
                                                               includingResourceValuesForKeys:nil,
                                                               relativeTo: appScoped ? nil : ( self.fileURL ) )
            #else
                let data =   try fileURL.bookmarkData(options: URL.BookmarkCreationOptions.suitableForBookmarkFile,
                                                      includingResourceValuesForKeys: nil,
                                                      relativeTo: appScoped ? nil : ( self.fileURL ))

            #endif
            // Extract of : https://developer.apple.com/library/mac/documentation/Cocoa/Reference/Foundation/Classes/URL_Class/index.html#//apple_ref/occ/instm/URL/bookmarkDataWithOptions:includingResourceValuesForKeys:relativeToURL:error:
