Electronic documents in archiving : a theoretical aspect