Cleanup to seek and open handling