Archiving and storage of documents