separate function to add meta-data files