restoreFromFile implementation done for now