script to generate victims file