Prepare mets generation. Bit slow
Add objid to Stagingfile