File dialog ported to python3