collect_val_labels function

Collect labels from metadata file