Introduce end-of-file normalization