manage several client generation in same file