Here you find the implementation of a little program that initialize the file where the relational structure is maintained. It creates a file large enough to contains the maximum number of metadata and includes the metadata headers at the start of each array and sub array.