Use signal/slot to open file