\"$read(file.txt)\" reads a one random line in the file. If you want to specify a line number, use \"$read(file.txt,3)\" which reads line 3.
/help $read for more info
Also use \".timer\" to make it silent or perform the command quietly without printing any info.