better parsing of allkeys.txt data file format