def writeToFile(self):
        try:
            f = open(self._fileName, "w")
            for client in Repository.getList(self):
                f.write(str(client.id) + ";" + client.name)

            f.close()
        except:
            pass
 def remove(self, idClient):
     if Repository.findByAnID(self, idClient) != -1:
         x = Repository.getList(self)
         del x[idClient]
     self.writeToFile()