Analysis system handles directories properly