Made some progress.
Works with reading arbitrary files and writing to System.out
Implemented missing methods for conversion.