def METHOD_NAME(parent):
  """Lists files contained directly in the parent directory."""
  result = METHOD_NAME.cache.get(parent)
  if result is None:
    command_trace.log(['ls', parent])
    result = os.listdir(parent)
    METHOD_NAME.cache[parent] = result
  return result