Our NextFlow pipelines generate very large interim files - sometimes this can be 6-8X the size of the input data. Storing all this data can be a burden, especially in resource constrained HPC systems - our pipelines sometimes fail just because they run out of scratch space. This could be (partially) address if we could clean the scratch directories _during pipeline execution_.