code: def FromFile(cls, inpath):
          
  
          with open(inpath, "r") as infile:
              indata = infile.read()
  
          return cls.FromString(indata)
docs: Load a CommandFile from a path.
  
          Args:
              inpath (str): The path to the file to load
  
          Returns:
              CommandFile: The decoded CommandFile object.