documentation for AG file structure