add strnad for sampleprocessor in order to serialize data storing on file