def _invokeWrite(self, fileIO, session, directory, filename, replaceParamFile):
        """
        Invoke File Write Method on Other Files
        """
        # Default value for instance
        instance = None

        try:
            # Handle case where fileIO interfaces with single file
            # Retrieve File using FileIO
            instance = session.query(fileIO). \
                filter(fileIO.projectFile == self). \
                one()

        except:
            # Handle case where fileIO interfaces with multiple files
            # Retrieve File using FileIO and file extension
            extension = filename.split('.')[1]

            try:

                instance = session.query(fileIO). \
                    filter(fileIO.projectFile == self). \
                    filter(fileIO.fileExtension == extension). \
                    one()

            except NoResultFound:
                # Handle case when there is no file in database but the
                # card is listed in the project file
                log.warning('{0} listed as card in project file, but '
                         'the file is not found in the database.'.format(filename))
            except MultipleResultsFound:
                self._invokeWriteForMultipleOfType(directory, extension, fileIO,
                                                   filename, session,
                                                   replaceParamFile=replaceParamFile)
                return

        # Initiate Write Method on File
        if instance is not None:
            instance.write(session=session, directory=directory, name=filename,
                           replaceParamFile=replaceParamFile)
Invoke File Write Method on Other Files