private async void openZip(StorageFile file)
        {
            var folder = await ApplicationData.Current.LocalFolder.CreateFolderAsync("tempFiles", CreationCollisionOption.ReplaceExisting);

            await Task.Run(() =>
            {
                using (ZipArchive archive = ZipFile.OpenRead(file.Path))
                {
                    foreach (ZipArchiveEntry entry in archive.Entries)
                    {
                        entry.ExtractToFile(Path.Combine(folder.Path, entry.Name));
                    }
                }
            });

            this.files = await folder.GetFilesAsync();

            this.file = this.files[0];
            foreach (var item in files)
            {
                MediaView mediaView = new MediaView(item);
                mediaView.DisplayFile(item);
                this.MediaFlip.Items.Add(mediaView);
            }
        }
 public TransferView(StorageFile file) : this()
 {
     if (file.FileType == ".zip")
     {
         this.openZip(file);
         this.SaveFileButton.Content = "save all";
     }
     else
     {
         this.file = file;
         MediaView mediaView = new MediaView(file);
         mediaView.DisplayFile(file);
         this.MediaFlip.Items.Add(mediaView);
     }
 }