fix or at least improve the file picker behaviour