Use sys.io.File.read to create a FileInput.
sys.io.File.read
FileInput
close():Void
eof():Bool
readByte():Int
readBytes(s:Bytes, pos:Int, len:Int):Int
seek(p:Int, pos:FileSeek):Void
tell():Int