in src/main/kotlin/org/jetbrains/objcdiff/utils/loadResourceFile.kt [3:7]
fun loadResourceFile(fileName: String): String {
val classLoader = Thread.currentThread().contextClassLoader
val resource = classLoader.getResource(fileName)
return resource?.readText() ?: throw IllegalArgumentException("File `$fileName` not found in `resources`")
}