Add add_swarm to TreeTextFileAccess.