def METHOD_NAME(self, path: str) -> None:
    """
    Add a permission error message to the list of warnings.
    :param path: file path
    """
    self.warnings.append(f'WARNING: {path} could not be accessed (no permissions to read?)')