The court may, upon affidavit of their necessity and materiality, upon motion, compel, by order, either party to produce, at or before the trial, any book, paper or document in his possession or power. The order may be made upon the application of either party, upon reasonable notice to the adverse party or his attorney. If not produced, parol evidence may be given of its contents.
Ala. Code § 12-21-3 (1975)