refine file chooser