docs: def _writeXputMaps(self, session, directory, mapCards,
                         name=None, replaceParamFile=None):
          """
          GSSHAPY Project Write Map Files to File Method
          """
          if self.mapType in self.MAP_TYPES_SUPPORTED:
              for card in self.projectCards:
                  if (card.name in mapCards) and self._noneOrNumValue(card.value):
                      filename = card.value.strip('"')
  
                      # Determine new filename
                      filename = self._replaceNewFilename(filename, name)
  
                      # Write map file
                      self._invokeWrite(fileIO=RasterMapFile,
                                        session=session,
                                        directory=directory,
                                        filename=filename,
                                        replaceParamFile=replaceParamFile)
          else:
              for card in self.projectCards:
                  if (card.name in mapCards) and self._noneOrNumValue(card.value):
                      filename = card.value.strip('"')
  
                      fileExtension = filename.split('.')[1]
  
                      if fileExtension in self.ALWAYS_READ_AND_WRITE_MAPS:
                          # Determine new filename
                          filename = self._replaceNewFilename(filename, name)
  
                          # Write map file
                          self._invokeWrite(fileIO=RasterMapFile,
                                            session=session,
                                            directory=directory,
                                            filename=filename,
                                            replaceParamFile=replaceParamFile)
  
              log.error('Could not write map files. MAP_TYPE {0} '
                        'not supported.'.format(self.mapType))