Cleanup attr file