Use sys.io.File.read to create a FileInput.
sys.io.File.read
FileInput
Use sys.io.File.write to create a FileOutput.
sys.io.File.write
FileOutput