Create an Open dialog. askopenfile() returns the opened file object, or None if the dialog is cancelled. askopenfiles() returns a list of the opened file objects, or an empty tuple if cancelled. The files are opened in mode mode (read-only 'r' by default).