restores the top file