support for textfiles.js generaton