Detecting bad ip in a file using a trained model works in theory