// Only do something if the user didn't press back from the file picker.
if (fileUri != null) {
// Get the file name string from the URI.
// Only do something if the user didn't press back from the file picker.
if (fileUri != null) {
// Get the file name string from the URI.