func resolveFileURL() -> (url: URL, stopAccessing: Bool)? {
        // Try to resolve from bookmark first
        if let bookmarkData = fileBookmarkData {
            var isStale = false
            // Try with security scope first (works for user-selected files)
            if let url = try? URL(
                resolvingBookmarkData: bookmarkData,
                options: .