Main collection files are generated from subcollections