open file and test
added __init__ to TypeDefRecord