In order to delete rows you can use file delmat.txt.
delmat.txt
The file contains only one columns with the desired ERP number.
Launch the file via the command line.