Opinion by
Mr. Justice Walling,This appeal by plaintiff is from judgment entered for defendant on a balance of $65,000 certified by the jury in an action of assumpsit. Plaintiff’s railroad extends from Pittsburgh to Youngstown, Ohio, and at the former city connects with various manufacturing establishments, including the Clinton Iron & Steel Company, of which defendant is a plant facility, although chartered as a railroad company: Pittsburgh & L. E. R. R. Co. v. Clinton I. & S. Co., 258 Pa. 338. Defendant had two engines and six freight cars, also divers sidings and switches located on the land of the steel company and extending to its different departments. Plaintiff’s tracks connected with those of defendant at what is known as interchange track in Point Bridge yard, where defendant took the cars and distributed them about the plant *165as needed; also gathered up cars for the outward shipment and delivered them to plaintiff at the same point; in other words, did a general switching business about the plant including the' transfer of cars coming in and going out. This embraced cars engaged in both interstate and State (intrastate) traffic. For many years ending in 1907, plaintiff paid defendant a satisfactory price for such service; then a controversy arose with reference thereto, and, after much discussion and correspondence, it was agreed that defendant should be paid according to a certain schedule fixed by plaintiff until the matter was adjusted by the Interstate Commerce Commission, when the balance if any for the intervening time would be paid in full. That schedule fixed $2.25 per car for iron ore, $1.75 for coke, $1.60 for limestone and a flat rate of $2 for each car handled for a subsidiary plant. In 1911 plaintiff without notice to defendant filed this schedule of rates with the commission; but the matter was never brought before that body for adjustment, and in May, 1914, plaintiff cancelled the agreement and refused further payment for the terminal service, while performing it for other like plants. Shortly thereafter plaintiff brought this suit on an admitted claim of $3,392.94, and interest, for repair work; to which defendant interposed a set-off of $93,542.30, claimed as the difference between the cost of the terminal service and the amount received therefor since 1907. This was based on a charge of $2.75 for each car handled. However, at the trial the evidence tended to prove that the actual cost of such service was $2.46 per car, and defendant reduced the claim to that amount. Its case depended in part on parol evidence and the trial judge submitted to the jury, inter alia, the question of the fair and reasonable cost of such service. The jury found for the defendant a certified balance of $65,000, on which judgment was entered. That was a considerable deduction from the full amount of the set-off computed on the basis of $2.46 per car. A part of defendant’s claim as item*166ized was for the movement of cars engaged in interstate and the balance for those engaged in State commerce, but as the case was tried and submitted to the jury, they were blended as one claim, and so far as can be judged the same amount was allowed for each car regardless of the kind of commerce in which it was engaged.
As to the interstate shipments the matter is controlled by federal statutes, which seek to protect the public by securing uniformity of rates and privileges. See Texas & Pac. Ry. v. Abilene Cotton Oil Co., 204 IT. S. 426. Under the Act of Congress to Regulate Commerce, as amended June 29, 1906, the interstate carrier must file with the commission and also publish schedules of all rates and tariffs including terminal charges, and the act also provides that, “No carrier......shall engage or participate in the transportation of passengers or property...... unless the rates, fares, and charges upon which the same are transported by said carrier have been filed and published in accordance with the provisions of this act...... nor shall any carrier refund or remit in any manner or by any device any portion of the rates, fares, and charges so specified, nor extend to any shipper or person any privileges or facilities in the transportation of passengers or property, except such as are specified in such tariffs” (U. S. Statutes at Large, 1905-1907, p. 586). And in effect (p. 590) that only reasonable charges shall be allowed the owner of transported property for services rendered in connection therewith, which allowance in case of complaint shall be determined by the commission. In our opinion under that statute the carrier can neither recover freight charges, nor pay the owner any allowance for services in connection with such transportation, except as provided in schedules previously .filed as above stated. Plaintiff should have filed the tariff of rates, and would have been ordered to do so had application been made to the commission; but until such schedules were filed, plaintiff could not lawfully pay for the switching services in question, and, of course, could not be com*167pelled to do an unlawful act. See Swing v. Munson, 191 Pa. 583; Johnson v. Hulings, 103 Pa. 498; Medoff v. Fisher et al., 257 Pa. 126; Interstate Commerce Commission v. Reichmann, 145 Fed. 235. If the property owner can recover from the carrier for yard-service in switching or placing cars, without a schedule of rates therefor being promulgated, then discrimination is possible under the guise of claims for terminal services, and that is what the statute seeks to prevent.
Then, again, by the agreement defendant was to be paid according to plaintiff’s unfiled schedule until adjusted by the commission, and neither party asked for such adjustment. It was a matter within the jurisdiction of the commission and by the agreement made a condition precedent to any claim of defendant for additional compensation. Plaintiff’s act in cancelling the contract did not oust the jurisdiction of the commission, who might still determine the validity of such cancellation and also the question of allowances for past transactions. See Pennsylvania R. R. Co. v. Stineman Coal Min. Co., 242 U. S. 298. The rule under the Federal statute seems to be that where the question involved is as to the reasonableness of rates, it is an administrative one and must first be passed upon by the commission ; but where such question is not involved the State courts still have jurisdiction. See Pennsylvania R. R. v. Sonman Shaft Coal Co., 242 U. S. 121, affirming 241 Pa. 487; Penna. R. R. v. Puritan Coal Mining Co., 237 U. S. 121, affirming 237 Pa. 420; Penna. R. R. v. Clark Bros. Coal Min. Co., 238 U. S. 457. There having been no appeal from the schedule filed by plaintiff in 1911, it thereafter became the legal rate: Crane R. R. Co. v. Central R. R. Co. of N. J., 248 Pa. 333, 338; Central R. R. Co. of N. J. v. Mauser, 241 Pa. 603; Kansas City So. Ry. v. Albers Comm. Co., 223 U. S. 573. In our opinion so much of defendant’s claim as rests on interstate traffic should have been excluded.
*168As defendant neither filed nor published any schedule of rates, it could not recover for interstate traffic if regarded as a common carrier. ■
The claim for State traffic is different; to it the federal statutes have no application. Here according to the evidence services were rendered for which payment at less than actual cost was received under protest and upon an agreement that the amount should finally be ■determined by a tribunal, which in fact had no right to act in the premises. The agreement for such determination did not oust the jurisdiction of the courts and defendant can recover in this case on a quantum meruit whatever balance may be its due for the expense of the service actually rendered.
While the exchange point was the terminus of the route so far as related to the question of demurrage (P. & L. E. R. R. Co. v. Clinton I. & S. Co., supra) it was competent for the parties, except as restrained by statute, to contract that the line freight rate should include the service of moving the cars in and about the plant as required, and plaintiff might perform this work with its own equipment, or employ defendant to do it. It has been recently held that under the federal statutes the carrier may be liable to the owner for the expense of spotting or placing cars: Stewart Iron Co. v. P. Co., 47 I. C. C. 513; while such right does not seem to be recognized in some of the earlier decisions of the commission.
Soon after plaintiff’s cancellation of the contract as above stated, the defendant applied to the Penna. Public Service Commission praying that such cancellation be annulled and that plaintiff be required to pay defendant a fair and reasonable compensation for the services performed in intrastate commerce subsequent to January 1,1914, that being the date when the Public Service Act of July 26, 1913, P. L. 1374, became effective. This proceeding is still pending within the jurisdiction of the State commission and precludes defendant from here *169recovering on so much, of the claim there involved as may be disallowed by that body.
Defendant may set off in this suit the difference if any between the actual cost of the service rendered in State traffic and the amount received therefor on account of work done prior to January 1, 1914; but, as the set-off allowed at the trial includes compensation for services rendered after that date and also for services in interstate traffic, a new trial must be granted.
For reasons above stated the judgment is reversed and a venire facias de novo awarded.