close right file