If the said moneys or property are held by the person, firm, association, bank, national bank, trust company, or other corporation, in any fiduciary capacity whatsoever, then the said application shall be made to the court having jurisdiction of his or its accounts. If the said moneys or property have been paid into or deposited in and are in the custody of any court, the application shall be made to the court having custody of such moneys or property. If the said moneys or property are held by any prothonotary, clerk of orphans' court, or any other officer of any court, the application shall be made to the court of which he is an officer. In all other cases, the application shall be made to the court of common pleas of the county in which the person holding or possessed of such items has his residence, or the firm, association, bank, national bank, trust company, or other corporation, holding or possessed of such items, has its principal office.
27 P.S. § 432