Fixing DM files.