code: def load_config(path):
      
      args = []
      with open(path, 'r') as fp:
          for line in fp.readlines():
              if line.strip() and not line.startswith("#"):
                  args.append(line.replace("\n", ""))
  
      return args
docs: Load device configuration from file path and return list with parsed lines.
  
      :param path: Location of configuration file.
      :type path: str
      :rtype: list