samples for document creation, load and save