On the hearing of an application for an injunction, each party may read affidavits. All affidavits shall be filed.
R.L. 1910, § 4878.