Indian railways lost crores of rupees