adding option to control output file size
Merge branch 'PartitioningAndSweeperTest'