Better use of reopen method