AAG to file