The task is to create a new file called "TAPE.FILE" of any size on Magnetic Tape.

// version 1.1.0 (Linux)
 
import java.io.FileWriter
 
fun main(args: Array<String>) {
    val lp0 = FileWriter("/dev/tape")
    lp0.write("Hello, world!")
    lp0.close()
}