Remove unnecessary EOF at end of files