             self?.images = images
 
             print("images: \(self?.images)")
+        }
+
+        fileURLsFromExtensionContext(extensionContext!) { [weak self] fileURLs in
+            self?.fileURLs = fileURLs
+
+            print("fileURLs: \(self?.fileURLs)")
         }
     }
 

            completion(images: images)
        }
    }
}



    var urls: [NSURL] = []
    var images: [UIImage] = []
    var fileURLs: [NSURL] = []

    override func presentationAnimationDidFinish() {

