Modified the rule to attempt to remove temporary files, but report only (not throw an exception). Added tests.