Adding onBefore|AfterFilenameCreate events