code: def _expand_possible_file_value(self, value):
      
      if value and os.path.isfile(str(value)):
        with open(value, 'r') as f:
          return f.read()
      return value
docs: If the value is a file, returns its contents. Otherwise return the original value.