/// <summary>
        /// Event handler for the Replay button click event.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private async void ReplayButton_Clicked(object sender, RoutedEventArgs e)
        {
            // Replays a previously saved drawing, drawing each strokein the order the author originally drew them.
            FileOpenPicker picker = new FileOpenPicker();

            picker.FileTypeFilter.Add(DefaultFileExtension);
            picker.SuggestedStartLocation = PickerLocationId.DocumentsLibrary;

            var file = await picker.PickSingleFileAsync();

            if (file != null)
            {
                using (var stream = await file.OpenAsync(FileAccessMode.Read))
                {
                    // Draw each stroke segment over a 50ms interval.
                    try
                    {
                        DrawingPanel.BeginStrokesReplayFromStream(stream, 50);
                    }
                    catch (Exception)
                    {
                        rootPage.NotifyUser("Unable to load file.", NotifyType.ErrorMessage);
                    }
                }
            }
        }