#!/usr/bin/python

from re import match
from sys import argv
from UserDict import UserDict

class PropList (UserDict):
	def __init__ (self, file):
		UserDict.__init__ (self, dict ([match (r'^\s*(\S+)\s*=\s*(\S+)\s*$', line).group (1, 2) for line in open (file)]))

if __name__ == '__main__':
	for a in argv[1:]:
		pl = PropList (a)
		print a, pl

