Invia SMS: Large deviations for discrete-time processes with averaging