File chooser cribbed from net. Ugly but functional
Repackage