Improved output accuracy for file removals