file.readTXTfile no longer works

Don’t know what’s wrong -

This works fine:
	var lcmethodtext = plugins.file.readFile()

but this no longer works:
	var lcmethodtext = plugins.file.readTXTfile()

Here is the error:
Exception Object: org.mozilla.javascript.EcmaError: TypeError: Cannot find function readTXTfile. (C:\Servoy41\developer\workspace\CMHCi\globals.js#3318)
MSG: TypeError: Cannot find function readTXTfile. (C:\Servoy41\developer\workspace\CMHCi\globals.js#3318)

Any ideas?

try to use move code or code completion.
because i think you made a typo:

var txt = plugins.file.readTXTFile(xxx)

Thank you, I need a better set of eyes.