How to read a text file from resources in Kotlin? : <p>I want to write a Spek test in Kotlin. The test should read an HTML file from the <code>src/test/resources</code> folder. How to do it?</p>

<pre><code>class MySpec : Spek({

    describe("blah blah") {

        given("blah blah") {

            var fileContent : String = ""

            beforeEachTest {
                // How to read the file file.html in src/test/resources/html
                fileContent = ...  
            }

            it("should blah blah") {
                ...
            }
        }
    }
})
</code></pre>
