Secure maintenance of railway tracks at night