lr_get_metadata function

Extract metadata from spectra files