Again, do what makes you happy. Technically it's the same as passing [two] identifiers when [one] will get the job done right.
Dean's version:
$read(file.txt,$rand(1,$lines(file.txt)))
Jethro's version:
$read(file.txt)
Just food for thought...