handle DOS-formatted files