Update file writer to split array of objects to multiple files.