Refractored to make the preprocessor return rawData.