Section 40. The courts may make rules regulating the time and manner of opening, filing and safe keeping of depositions, and the taking and use thereof.