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

import "os" for Platform
import "io" for File
 
var fileName = (Platform.isWindows) ? "TAPE.FILE" : "/dev/tape"
File.create(fileName) { |file|
    file.writeBytes("Hello World!\n")
}