store, restore, and compare file metadata