Using data smartly for an efficient rail operation and maintenance