working on an extractMetaData() to be used to select stored data for plots.