Put basic file chooser test in try catch loop