code: def testMaximalCliquesFile(self):
      def read_cliques(fname):
          with open(fname) as fp:
              return sorted(
                  sorted(int(item) for item in line.split())
                  for line in fp
              )
  
      with temporary_file() as fname:
          self.g.maximal_cliques(file=fname)
          self.assertEqual(
              [[0, 3, 4], [0, 4, 5], [1, 2, 3, 4], [1, 2, 4, 5]],
              read_cliques(fname),
          )
  
      with temporary_file() as fname:
          self.g.maximal_cliques(min=4, file=fname)
          self.assertEqual(
              [[1, 2, 3, 4], [1, 2, 4, 5]], read_cliques(fname)
          )
  
      with temporary_file() as fname:
          self.g.maximal_cliques(max=3, file=fname)
          self.assertEqual([[0, 3, 4], [0, 4, 5]], read_cliques(fname))
  
imports: import unittest
  from igraph import Graph
  from .utils import temporary_file
label_desc: Use image node_id 5 for calling the CliqueTests obj's underlying member method code with example usage: obj.testMaximalCliquesFile() and returns: sorted