simple sst style file reader/writer