def METHOD_NAME(self, create=False):
    """Returns the QFileDialog, if already instantiated.
    If create is True, the dialog is instantiated anyhow.
    """
    if create and self._fileDialog is None:
        self._fileDialog = QFileDialog(self)
    return self._fileDialog