Add a parse method that takes the file name
Rename Flush into Terminate
Upgrade json-smart 1.2, close #1359