def result_get(args, result_fds, name):
  """ Get a valid descriptor to the bound result file, or 'None' if the given name is not bound.
  Args:
    name Given name
  Returns:
    Valid file descriptor, or 'None'
  """
  # Check if results are to be output
  
  if args.result_directory is None:
    return None
  # Return the bound descriptor, if any
  
  return result_fds.get(name, None)