def ShouldCheckFile(file_name):
  """Returns True if the given file is a type we want to check."""
  if len(file_name) < 2:
    return False
  return file_name.endswith(".cc") or file_name.endswith(".h")