Save roster to file when calling api