write class id and list to disk