doc: add the example for Context#restore with File object