You do not directly modify the main file:
Application / Code / Kernel /Mage/List//block/onepage.php
copy this file.
app/code/local/mage/checkout/block/onepage.php
and change this line:
$stepCodes = array('billing', 'shipping', 'shipping_method', 'payment', 'review');
source share