You have correctly identified what's happening.
As to why it's happening, the /play command performs a $read of each line in the file (subject to the parameters provided in the /play command), then sends the read line to the nick/channel
Because it performs a read, this is relevant
If the first line in the file is a number, it must represent the total number of lines in the file.
Quoted from /help $read