Separated storing metadata and writing component files.