Can handle more than one input file. Variable length tuple key is working. Not sure about the value part in the dictionary.