Changed featuresFile to formattedDataFile