def saveFiles(self, files):
        cfg = Config.getInstance()
        from MaKaC.conference import LocalFile
        for fileUploaded in files:
            if fileUploaded.filename:
                # create a temp file
                tempPath = cfg.getUploadedFilesTempDir()
                tempFileName = tempfile.mkstemp(suffix="IndicoAbstract.tmp", dir=tempPath)[1]
                f = open(tempFileName, "wb")
                f.write(fileUploaded.file.read() )
                f.close()
                file = LocalFile()
                file.setFileName(fileUploaded.filename)
                file.setFilePath(tempFileName)
                file.setOwner(self)
                file.setId(self._getAttachmentsCounter())
                self.__addFile(file)