Updated rival dependency to handle input files with header lines