Add id to snapshot file, fetch snapshot file by id