code: def load(cls, fname):
          
          with open(fname) as f:
              content = f.readlines()
          return Flow.from_json(''.join(content))
docs: Loads the flow from a JSON file.
  
          :param fname: the file to load
          :type fname: str
          :return: the flow
          :rtype: Flow