def open_file(self, title="<STR_LIT>", initialDir="<STR_LIT>", fileTypes="<STR_LIT>", rememberAs=None, **kwargs):
if rememberAs is not None:<EOL><INDENT>return self._run_kdialog(title, ["<STR_LIT>", initialDir, fileTypes, "<STR_LIT::>" + rememberAs], kwargs)<EOL><DEDENT>else:<EOL><INDENT>return self._run_kdialog(title, ["<STR_LIT>", initialDir, fileTypes], kwargs)<EOL><DEDENT>
Show an Open File dialog

Usage: C{dialog.open_file(title="Open File", initialDir="~", fileTypes="*|All Files", rememberAs=None, **kwargs)}

@param title: window title for the dialog
@param initialDir: starting directory for the file dialog
@param fileTypes: file type filter expression
@param rememberAs: gives an ID to this file dialog, allowing it to open at the last used path next time
@return: a tuple containing the exit code and file path
@rtype: C{DialogData(int, str)}