Try using this code:

NOTE: rename the "commands.txt" with your own file!

Code:
ON !*:TEXT:!commands:#: {
  var %f = commands.txt
  if (!$isfile(%f)) { msg $chan [ $+ $nick $+ ]: There is NOT any command available since now, file is NOT exist! | return }
  if (!$lines(%f)) { msg $chan [ $+ $nick $+ ]: There is NOT any command avaialable since now, file is EMPTY! | return }
  msg $chan [ $+ $nick $+ ]: Starting now the list with all the commands that are available on the channel, Please wait...
  var %t = $lines(%f)
  var %i = 1
  while (%i <= %t) {
    var %r = $read(%f,nt,%i)
    msg $chan [# $+ %i $+ ]: Command:  $+ %r $+ 
    inc %i
  }
  msg $chan [ $+ $nick $+ ]: End of command list. - (Total Commands:  $+ %t $+ )
}