Section 5. The attorney general may investigate conditions existing in any line of industry, and such investigations may be extended outside of the commonwealth to procure information to promote industrial development or to improve industrial conditions. He shall receive all complaints concerning conditions existing in any industry carried on in the commonwealth, or concerning alleged violations of any laws enforced under his direction, and shall thereupon make or direct all needful and appropriate investigations and prosecutions.