detect opening of existing files already opened in another screen