Railways offers compassionate appointment to 10-month-old after her parents die