(a) On the hearing of an application for an injunction of which notice has been given, each party may read affidavits.
(b) The affidavits read upon an application for an injunction shall be filed with the papers of the case.