 			log.error i, 'E9', "location's image has been doubled" if location.image? # error 9
 			
 			[_, path, path2] = imageDescr
-			log.error i, 'E10', "image paths are not equal: '#{path}', '#{path2}'" if path isnt path2 # error 10
+			if path isnt path2
+				log.error i, 'E10', "image paths are not equal: '#{path}', '#{path2}'" # error 10
 			
 			location.image = path
 		

	log.setFilename dir
	
	unless t = dir.match /\/([^\/]+)\s-\s([^\/]+)\/?$/
		log.error 'dirname', 'E4', "wrong directory path <#{dir}>, folder must have name like 'Area name - label'" # error 4
	[_, name, label] = t
	label = parentLabel + '-' + label unless parentLabel is ''
	

			
			localAreaName = line.substr(2)
			if areaName != localAreaName
				log.error i, 'E5', "names <#{areaName}>(folder) and <#{localAreaName}>(file) don't match" # error 5
			
			area = new Area(areaName, areaLabel)
			log.result.areas.push(area)
