Make write collections in one file