Parsing KVT files