Railways to help city treat waste