docs: def _readReplacementFiles(self, directory, session, spatial, spatialReferenceID):
          """
          Check for the parameter replacement file cards
          (REPLACE_PARAMS and REPLACE_VALS) and read the files into
          database if they exist.
  
          Returns:
              replaceParamFile or None if it doesn't exist
          """
          # Set default
          replaceParamFile = None
  
          # Check for REPLACE_PARAMS card
          replaceParamCard = self.getCard('REPLACE_PARAMS')
  
          # Read the file if it exists
          if replaceParamCard is not None:
              filename = replaceParamCard.value.strip('"')
              replaceParamFile = ReplaceParamFile()
              replaceParamFile.read(directory=directory,
                                    filename=filename,
                                    session=session,
                                    spatial=spatial,
                                    spatialReferenceID=spatialReferenceID)
              replaceParamFile.projectFile = self
  
          # Check for the REPLACE_VALS card
          replaceValsCard = self.getCard('REPLACE_VALS')
  
          # Read the file if it exists
          if replaceValsCard is not None:
              filename = replaceValsCard.value.strip('"')
              replaceValsCard = ReplaceValFile()
              replaceValsCard.read(directory=directory,
                                   filename=filename,
                                   session=session,
                                   spatial=spatial,
                                   spatialReferenceID=spatialReferenceID)
              replaceValsCard.projectFile = self
  
          return replaceParamFile