or your own function to read a file can be replace...
# stdlib
d
or your own function to read a file can be replaced by
FilesKt.readText(new File(fileName), Charset.forName("UTF-8"));