writeToFile

fun writeToFile(resource: Resource): File