Domain Ids file format is each id on blank line.
The file should end with a new line '\n'.
