Corrects an incorrectly formatted domain file