Python Dictionary Method Getopenfilename