parse definition file