The relationship of complementarity between documents in archives and libraries