File dialogs allow users to select one or multiple files from the filesystem. In Tkinter, these functions are declared in the tkinter.filedialog module, which also includes dialogs for choosing directories. It also lets you customize the behavior of a new dialog, such as filtering the files by their extension or choosing the initial directory displayed by the dialog.