Restore construction in different file formats