Save and check file metadata