In all matters wherein any person is directed by a court to produce any documents and such person refuses to produce such documents, and for such refusal is attached and imprisoned by a court, and subsequently discharged, persisting in such refusal, parol evidence shall be received in relation to the existence and contents of such documents.