WIP: writing the function to actually load the metadata it can find