finishing plugin system for opened and openfile