currently we make multiple copies of the (same) res file for the parallelization of sampleMass. Can we just use a single file to save disk space?