[FIX] replaced class export with method level export in FeatureMap
[FIX] fixes a test failure in TextFile_test