def cleanup(job, tempOutputFileStoreID, outputFile, cores=1, memory=sortMemory, disk="3G"):
    job.fileStore.readGlobalFile(tempOutputFileStoreID, userPath=outputFile)
    job.fileStore.logToMaster("Finished copying sorted file to output: %s" % outputFile)
Copies back the temporary file to input once we've successfully sorted the temporary file.
dataset/ETHPy150Open BD2KGenomics/toil/src/toil/test/sort/sort.py/cleanup