featureMap read from featureMap.csv, added isEmpty check