It's odd that we _have_ code to select the folder when finished, but it doesn't seem to work. Possibly a timing issue - the files view is not yet aware of the new file?

If you still see this bug w/ you code, try running the selectFile call in a timer, like this:

    Timer.run(() {
      ...
    }