restore the file