Take into account DOS file format