Recoded the dmem file.