The secretary, assistant secretary, referee, director, or assistant director of workmen's compensation, and clerks to the referees are hereby directed to administer, without charge, any oaths required by any workmen's compensation act now in force or which may hereafter be enacted, and to take, without charge, affidavits of any party to any paper, document, or petition, which is by such act required to be attested.
77 P.S. § 151