Split metadata into two files