Got serialization working.
Input file now works.