write files as base_0 if there will be more than one