appendToFile now uses print instead of println
noOfFeatures in current AST does not count the features found in the featureMap from files which were transformed previously