function to import the label files in the right format