Text this: Ensuring safety in railway tunnels