code: def fileName(self):
          
          if self._filename:
              return self._filename
          
          filename = nativestring(super(XSettings, self).fileName())
          if self._customFormat:
              filename, ext = os.path.splitext(filename)
              filename += '.' + self._customFormat.extension()
          return filename
docs: Returns the filename.
          
          :return     <str>