Fixed formatting issue with files containing resume and reend statements