code: def _load_chains(f):
          '''
          Loads all LiftOverChain objects from a file into an array. Returns the result.
          '''
          chains = []
          while True:
              line = f.readline()
              if not line:
                  break
              if line.startswith(b'#') or line.startswith(b'\n') or line.startswith(b'\r'):
                  continue
              if line.startswith(b'chain'):
                  # Read chain
                  chains.append(LiftOverChain(line, f))
                  continue
          return chainf _load_chains(f):
          '''
          Loads all LiftOverChain objects from a file into an array. Returns the result.
          '''
          chains = []
          while True:
              line = f.readline()
              if not line:
                  break
              if line.startswith(b'#') or line.startswith(b'\n') or line.startswith(b'\r'):
                  continue
              if line.startswith(b'chain'):
                  # Read chain
                  chains.append(LiftOverChain(line, f))
                  continue
          return chains
docs: Loads all LiftOverChain objects from a file into an array. Returns the result.