better use of QFileDialog