If the workers' compensation judge before which any proceedings for compensation or concerning an award of compensation have been brought, under the Workers' Compensation Act, determines that such proceedings have not been brought on a reasonable ground, or that denial of benefits has not been based on a reasonable ground, the workers' compensation judge shall assess the total cost of the proceedings to the party who has brought them or the party who has unreasonably denied payment of benefits.