def METHOD_NAME(file):
	global mach_time
	mach_time = 0
	f = open('time.log','w')
	f.close()
	global x_jog 
	global y_jog
	global z_jog
	global a_jog
	config = ConfigParser_New.RawConfigParser() 
	config.read('craftsmancnc.ini')
	x_jog = config.get('AXIS_0', 'MAX_VELOCITY') #,  '80')
	y_jog = config.get('AXIS_1', 'MAX_VELOCITY') #,  '80') #80
	z_jog = config.get('AXIS_2', 'MAX_VELOCITY') #30
	a_jog = config.get('AXIS_3', 'MAX_VELOCITY') #850
	f = open(file,'r')
	for data in f.readlines():	
		if data.find('G') > -1:
			data = data[:-1]
			gcode_decode(data)
	f.close()