adding the ability to upload metadata file (in progress)