modified DataTransformer to generate folder based on data size