Kotlin vs Java
String content = null; try { content = Files.readString(filePath); } catch (IOException e) { e.printStackTrace(); }
File("doc.txt").readText()