Cleaning up residue files