Canadian Pacific is a commercial shipping company that owns rail lines in New York and Canada and has a $ 26 million partnership with the state to upgrade its line between Albany and Montreal as well as the infrastructure around it , like raising overpasses to allow larger rail cars .