if no file given in arguments, ask for one with tkfiledialog