monitor reopen the same file if it exists